All of lore.kernel.org
 help / color / mirror / Atom feed
* how to apply bbappend selectively
@ 2011-07-28  9:56 Jaap de Jong
  2011-07-28 10:31 ` Paul Eggleton
  0 siblings, 1 reply; 3+ messages in thread
From: Jaap de Jong @ 2011-07-28  9:56 UTC (permalink / raw)
  To: openembedded-devel@lists.openembedded.org

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to apply bbappend selectively
  2011-07-28  9:56 how to apply bbappend selectively Jaap de Jong
@ 2011-07-28 10:31 ` Paul Eggleton
       [not found]   ` <4E314453.8080107@nedap.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Eggleton @ 2011-07-28 10:31 UTC (permalink / raw)
  To: openembedded-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to apply bbappend selectively
       [not found]   ` <4E314453.8080107@nedap.com>
@ 2011-07-28 11:17     ` Paul Eggleton
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Eggleton @ 2011-07-28 11:17 UTC (permalink / raw)
  To: Jaap de Jong; +Cc: openembedded-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-07-28 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28  9:56 how to apply bbappend selectively Jaap de Jong
2011-07-28 10:31 ` Paul Eggleton
     [not found]   ` <4E314453.8080107@nedap.com>
2011-07-28 11:17     ` Paul Eggleton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.