how to apply bbappend selectively
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
Quoted 4 lines · 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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · 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
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre