[yocto] Recipe re-build when variable in local.conf changes

Amol Lad Amol.Lad at 4rf.com
Wed Aug 22 07:46:51 PDT 2018


Hi,

Is there a way to re-build a recipe if I change a variable in local.conf?

I've defined a variable - BUILDVERSION = "1.0.0" in local.conf. There is a recipe which uses this variable, creates a version file and populates it in the root file system. Now if I change this variable to say "2.0.0" then how can I cause my recipe to re-build so it can pick up new value?

Thanks for your help.
Amol
________________________________
The information in this email communication (inclusive of attachments) is confidential to 4RF Limited and the intended recipient(s). If you are not the intended recipient(s), please note that any use, disclosure, distribution or copying of this information or any part thereof is strictly prohibited and that the author accepts no liability for the consequences of any action taken on the basis of the information provided. If you have received this email in error, please notify the sender immediately by return email and then delete all instances of this email from your system. 4RF Limited will not accept responsibility for any consequences associated with the use of this email (including, but not limited to, damages sustained as a result of any viruses and/or any action or lack of action taken in reliance on it).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20180822/6353b378/attachment-0001.html>


More information about the yocto mailing list