Skipping recipe.bb or recipes.bbappend
Hi all.
I developed a small app for Yocto Pyro on IMX6DL, engicam platform
Now I'd like to port the same layer to openstlinux stm32mp1.
Some recipe.bbappend cannot be use with openstlinux layers because the "mother" recipe.bb is missing.
How can I skip the recipes.bbappend uneeded?
i.e.
Engicam give me the recipe engicam-linux-fslc.bb and I addes engicam-linux-fslc.bbappend
Now in openstlinux engicam-linux-fslc.bb doesn't exists and I need skip the .bbappend.
Which is the right mode to skip engicam-linux-fslc.bbappend if I use my layer in openstlinux?
Thanks to all
MZ
Quoted 29 lines
-----Original Message-----
From: [email protected] <bitbake- [email protected]> On Behalf Of Mauro Ziliani
Sent: den 28 april 2020 23:39
To: [email protected]
Subject: [bitbake-devel] Skipping recipe.bb or recipes.bbappendHi all.
I developed a small app for Yocto Pyro on IMX6DL, engicam platform
Now I'd like to port the same layer to openstlinux stm32mp1.
Some recipe.bbappend cannot be use with openstlinux layers because the "mother" recipe.bb is missing.
How can I skip the recipes.bbappend uneeded?
i.e.
Engicam give me the recipe engicam-linux-fslc.bb and I addes engicam-linux-fslc.bbappend
Now in openstlinux engicam-linux-fslc.bb doesn't exists and I need skip the .bbappend.
Quoted 8 lines
Which is the right mode to skip engicam-linux-fslc.bbappend if I use my layer in openstlinux?
Thanks to all
MZ
You can use BBFILES_DYNAMIC to make your bbappend file available depending on the presence of the engicam layer with the engicam-linux-fslc.bb recipe. See meta-oe for an example of BBFILES_DYNAMIC in action.
Alternatively you can use BBMASK to instruct bitbake to ignore certain recipes and/or bbappend files. Notice that BBMASK is made up of regular expressions.
//Peter