developmet setup
Hi,
Maybe following way will not usefull for you, but it is working for me.
I have overrided do_fetch() method in the kernel recipe to make symlink to my kernel source tree, which is under git control.
S = "${WORKDIR}/linux-2.6"
do_fetch () {
cd ${WORKDIR}
if [ ! -L ${S} ]; then
ln -sf ${MY_KERNEL_PATH} ${S} fi
}
MY_KERNEL_PATH is the local path to my kernel source tree. It is passed from environment variables.
I'm using this way only for kernel development.
Quoted 23 lines
Hi all,
I was searching a clean way to develop in OE my new kernel and my new applications.I saw this nice article about kernel development:
http://bec-systems.com/site/521/best-practices-for-kernel-development-with-
openembeddedI would like a way to develop inside Openembedded, but not in work directory.
I mean to develop a project in a git tree, allowing me to use 'git diff' ..... and finally 'git push' to my internal git servers. This is an idea:
bitbake -c devshell-path/home/myapplicationmyapplicationrecipePerhaps srctree is a good tool already done for it?
Thanks,
Raffaele
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Vladimir Davydov
Quoted 1 line · Vladimir Davydov
Hi,
Has anyone looked at srctree class from kergoth? There were some usage examples on the list before...
Quoted 51 lines
Maybe following way will not usefull for you, but it is working for me.
I have overrided
do_fetch()method in the kernel recipe to make symlink to my kernel source tree, which is under git control.S = "${WORKDIR}/linux-2.6"
do_fetch() {
cd ${WORKDIR}
if [ ! -L ${S} ]; thenln -sf ${MY_KERNEL_PATH} ${S}fi
}
MY_KERNEL_PATHis the local path to my kernel source tree. It is passed from environment variables.
I'm using this way only for kernel development.Quoted 23 lines
Hi all,
I was searching a clean way to develop in OE my new kernel and my new applications.I saw this nice article about kernel development:
http://bec-systems.com/site/521/best-practices-for-kernel-development-with-
openembeddedI would like a way to develop inside Openembedded, but not in work directory.
I mean to develop a project in a git tree, allowing me to use 'git diff' ..... and finally 'git push' to my internal git servers. This is an idea:
bitbake -c devshell-path/home/myapplicationmyapplicationrecipePerhaps srctree is a good tool already done for it?
Thanks,
Raffaele
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-develSignature · 6 lines
Vladimir Davydov _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel