Openembedded Devel Discussions
 help / color / mirror / Atom feed
* developmet setup
@ 2010-05-26  6:34 Raffaele Recalcati
  2010-05-26 11:19 ` Koen Kooi
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Raffaele Recalcati @ 2010-05-26  6:34 UTC (permalink / raw)
  To: openembedded-devel

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


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Re: developmet setup
@ 2010-05-27 14:42 Vladimir Davydov
  2010-05-27 17:16 ` Denys Dmytriyenko
  0 siblings, 1 reply; 8+ messages in thread
From: Vladimir Davydov @ 2010-05-27 14:42 UTC (permalink / raw)
  To: openembedded-devel

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.


> 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@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


-- 
Vladimir Davydov



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2010-05-27 17:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-26  6:34 developmet setup Raffaele Recalcati
2010-05-26 11:19 ` Koen Kooi
2010-05-27 12:46   ` Raffaele Recalcati
2010-05-27 13:14 ` Antonio Ospite
2010-05-27 13:46   ` Raffaele Recalcati
2010-05-27 15:50 ` Enrico Scholz
  -- strict thread matches above, loose matches on Subject: below --
2010-05-27 14:42 Vladimir Davydov
2010-05-27 17:16 ` Denys Dmytriyenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox