Skip to contentSkip to conversation

developmet setup

DISCUSSION Vladimir Davydov 2 participants 2 messages May 27, 2010

lore
Share & tools
lore
#0 lore raw

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-
openembedded

I 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/myapplication myapplicationrecipe

Perhaps 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
#1 lore raw
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} ]; 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-
openembedded

I 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/myapplication myapplicationrecipe

Perhaps 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 · 6 lines
Vladimir Davydov

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel