Le Wed, 4 Apr 2012 09:21:02 +0200,
Samuel Stirtzel <s.stirt...@googlemail.com> a écrit :

> 2012/4/4 Eric Bénard <e...@eukrea.com>:
> > Hi Surenda,
> >
> > Le Wed, 4 Apr 2012 06:34:39 +0000 (UTC),
> > surendra dhobale <surendra.dhobaleli...@gmail.com> a écrit :
> >>  I am working with the open embedded environment.
> >>
> >> I have added one u-boot package in that. First time by default the 
> >> compilation
> >> done successfully using the bitbake. But Now i made some changes in the 
> >> source
> >> .
> >>
> >> Now i have to built the same package with neglecting the fetch() stage.
> >> and rebuilt it means need to compilation.
> >>
> >> Is any commands for that...
> >> Can please anyone explain me in deatails about that. I am newbie in the 
> >> open
> >> embedded.
> >>
> > bitbake u-boot -c cleansstate
> > bitbake u-boot
> >
> > Eric
> 
> Hi,
> please note this will delete local changes (in thework directory) to
> the sourcecode!
> 
> If you only want to compile again you can use
> 
> bitbake -c compile -f u-boot
> and then "bitbake u-boot" to build the other tasks.
> 
oops, I read his message to fast and didn't notice the "i made some
changes in the source code , which is created in the Temp work
directory".

For this kind of work, I prefer to do :
bitbake u-boot -c configure
copy the source from workdir to a directory outside OE
then change to this dir and
git init
git add .
git commit -m init
then you can hack it outside OE (and compile it using a meta-toolchain
for example)
and in the end you can easily produce a patch using git that you
integrate back into OE.

Eric

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to