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

2016-03-19 Thread YUKATHARSANI JEYACHANDRA
You can use BBMASK variable in your layer.conf file. From: yocto-boun...@yoctoproject.org on behalf of Mark T Sent: Friday, March 18, 2016 11:02:54 PM To: Andre McCurdy Cc: yocto@yoctoproject.org Subject: Re: [yocto] Conditional compile for package in

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

2016-03-19 Thread Andre McCurdy
On Wed, Mar 16, 2016 at 2:01 AM, Burton, Ross wrote: > > On 16 March 2016 at 08:56, Mark T wrote: >> >> I'd like to be able to do the following >> >> IMAGE_INSTALL_append += "package_a" It's not typical usage to combine += with _append, pick one or the other. Using _append is generally more rel

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

2016-03-18 Thread Burton, Ross
On 18 March 2016 at 17:32, Mark T wrote: > Thanks, that " IMAGE_INSTALL_append_intel-corei7-64 = "package_b" " worked > a treat. > > If I want to exclude a recipe from a layer for qemu builds - is there a > similar method for that ? > You can use _remove_qemuall for that. Ross -- __

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

2016-03-18 Thread Mark T
Ross, Thanks, that " IMAGE_INSTALL_append_intel-corei7-64 = "package_b" " worked a treat. If I want to exclude a recipe from a layer for qemu builds - is there a similar method for that ? Thanks, Mark On 17 March 2016 at 09:10, Andre McCurdy wrote: > On Wed, Mar 16, 2016 at 2:01 AM, Burto

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

2016-03-16 Thread Burton, Ross
On 16 March 2016 at 08:56, Mark T wrote: > I'd like to be able to do the following > > IMAGE_INSTALL_append += "package_a" > if ( not qemu ) > IMAGE_INSTALL_append += "package_b" > endif > The neater way would be if you can easily identify what "not qemu" is, for example: IMAGE_INSTALL_append_i