[oe] how to apply bbappend selectively

2011-07-28 Thread Jaap de Jong

Hi All,

I.m creating a special image with for instance a modified udev package.
I've created a udev-xxx.bbappend for that purpose.
But for all the other images I build for other hardware I still want to 
use the original udev-xxx.

There is probably a simple solution but I don't see it...
Any ideas?

Thanks in advance!
Jaap

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] how to apply bbappend selectively

2011-07-28 Thread Paul Eggleton
On Thursday 28 July 2011 10:56:28 Jaap de Jong wrote:
 I.m creating a special image with for instance a modified udev package.
 I've created a udev-xxx.bbappend for that purpose.
 But for all the other images I build for other hardware I still want to
 use the original udev-xxx.

Usually this is just done with machine overrides within the bbappend.

e.g.

SRC_URI_append_somemachine = file://somefile.patch
SOMEVARIABLE_somemachine = value1
ANOTHERVARIABLE_somemachine = value2

That way building for all other machines will be unaffected.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] how to apply bbappend selectively

2011-07-28 Thread Paul Eggleton
On Thursday 28 July 2011 12:13:23 Jaap de Jong wrote:
 But it will still create processor-related packages instead of
 machine-related.
 I probably need some magic flag set to get it machine-related (or
 perhaps better: image-related)?

Well, PACKAGE_ARCH_somemachine = ${MACHINE_ARCH} will do that; although if 
you're manipulating SRC_URI then it's supposed to set that automatically.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre

___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel