Re: Conditional include in image recipe.
Quentin Schulz
Hi Mauro,
On Sat, Aug 24, 2019 at 12:19:08PM +0200, Mauro Ziliani wrote: Hi allOr you can just safely ignore if the file does not exist (for Yocto, which most likely means that the layer is not included). You have two "include" mechanisms for non-class files: * require * include "Require" requires the file to be there and fails otherwise while "include" tries to include the file, if it's not there, it continues. https://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#include-directive https://www.yoctoproject.org/docs/current/bitbake-user-manual/bitbake-user-manual.html#require-inclusion Quentin -- StreamUnlimited Engineering GmbH High Tech Campus Vienna, Gutheil-Schoder-Gasse 10, 1100 Vienna, Austria quentin.schulz@..., www.streamunlimited.com
|
|