Openembedded Core Discussions
 help / color / mirror / Atom feed
* How to override bitbake.conf defaults in layers properly?
@ 2012-08-16 11:57 Koen Kooi
  2012-08-16 13:15 ` Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: Koen Kooi @ 2012-08-16 11:57 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

Hi,

I spent the morning backporting kernel.bbclass changes to the meta-oe denzil branch and I've run into a problem: STAGING_KERNEL_DIR needs to change to match the updated class. In this specific case I can work with Scott and Eric to see if those kernel.bbclass changes can go into oe-core and meta-oe at the same time. That's something for next week :) In the meantime I'm wondering what the best way is to fix this in cases where you can't influence oe-core.

I see a number of options:

1) set STAGING_KERNEL_DIR in layer.conf. I don't know if that's parsed before or after bitbake.conf, but it feels like the cleanest solution
2) set it in $DISTRO.conf. Easy enough, breaks every other distro out there
3) copy over bitbake.conf. Might work with some BBPATH magic, but in the end doesn't scale when >1 layers do it
4) provide a custom denzil branch of oe-core, another easy way, but very antisocial

I'm not into the layering details enough to see what the effects of 1) would be, could the knowledgable people chime in please?

regards,

Koen


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

end of thread, other threads:[~2012-08-16 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 11:57 How to override bitbake.conf defaults in layers properly? Koen Kooi
2012-08-16 13:15 ` Paul Eggleton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox