[oe] developmet setup

Denys Dmytriyenko denis at denix.org
Thu May 27 17:16:07 UTC 2010


On Thu, May 27, 2010 at 05:42:21PM +0300, Vladimir Davydov wrote:
> Hi,

Has anyone looked at srctree class from kergoth? There were some usage 
examples on the list before...


> 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.
> 
> 
> > 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
> > Openembedded-devel at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
> 
> -- 
> Vladimir Davydov
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list