[yocto] Recompile the recipe everytime
Paul Eggleton
paul.eggleton at linux.intel.com
Fri Jun 14 05:30:20 PDT 2013
Hi Rohit,
On Thursday 13 June 2013 20:54:08 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 really want to do this, I think you'll need to mark all tasks in the
normal flow from do_compile onwards as nostamp i.e.:
do_compile
do_compile_kernelmodules
do_kernel_link_vmlinux
do_install
do_package
do_packagedata
do_package_write
do_package_write_rpm
do_populate_sysroot
do_strip
do_deploy
do_uboot_mkimage
do_sizecheck
I have to say I don't recommend doing this. I would strongly suggest you use
"bitbake -c compile -f linux-yocto" or "bitbake -C compile linux-yocto" (the
latter will force compile and then automatically run all the needed tasks up
to the default task).
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
More information about the yocto
mailing list