[yocto] Recompile the recipe everytime

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jun 14 09:38:14 PDT 2013


On Thu, 2013-06-13 at 20:54 +0530, Rohit2 Jindal wrote:
> Please help me out I am stuck in some issue, actually I want my recipe to do compilation everytime on every run of
> 
> Bitbake linux-yocto
> 
> ie can I remove stamping or sstate-cache that it allows me to run compilation everytime on every run of bitbake linux-yocto.
> 
> 
> I tried do_compile[nostamp] ="1" but it did not work but same thing worked for do_install[nostamp]="1"

If you just want to rerun the compilation:

do_compile[nostamp] = "1"

should do what you want, not sure why that wouldn't work.

bitbake linux-yocto -c compile -f

or 

bitbake linux-yocto -C compile -f

are also commands which might help.

Cheers,

Richard






More information about the yocto mailing list