[yocto] Conditional compile for package in layer.conf for Qemu

Mark T mtl1nuxd3v at gmail.com
Wed Mar 16 01:56:15 PDT 2016


Hi,

Is it possible to  omit packages when building for Qemu ?

I have a layer.conf file with various packages added via

IMAGE_INSTALL_append += "package_a"
IMAGE_INSTALL_append += "package_b"

I'd like to be able to do the following

IMAGE_INSTALL_append += "package_a"
if ( not qemu )
IMAGE_INSTALL_append += "package_b"
endif

How can I do this? can I insert python here ? what environment variables
should i be checking and what are thier values.

Thanks,
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160316/20b5ba50/attachment.html>


More information about the yocto mailing list