Openembedded Core Discussions
 help / color / mirror / Atom feed
* more pedantry -- looking to clarify layers definition, BBPATH, BBFILES, etc.
@ 2012-07-08 17:59 Robert P. J. Day
  2012-07-09  9:05 ` Andrei Gherzan
  2012-07-09  9:23 ` Martin Jansa
  0 siblings, 2 replies; 8+ messages in thread
From: Robert P. J. Day @ 2012-07-08 17:59 UTC (permalink / raw)
  To: OE Core mailing list


  (most of this is sort of self-evident but it's not documented as
well as it could be so i just want to make sure i have it exactly
right.)

  snippets of some layer.conf files:

oe-core:

BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"

meta-hob:

BBPATH := "${BBPATH}:${LAYERDIR}"
BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb"

meta-yocto:

BBPATH := "${LAYERDIR}:${BBPATH}"
BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
            ${LAYERDIR}/recipes-*/*/*.bbappend"

  note how meta-hob *appends* itself to BBPATH, while meta-yocto
*prepends* itself.  is there no possibility that this will cause some
confusion based on how BBPATH is used to resolve the location of class
or conf files?  i realize you should try to avoid that sort of
conflict but it still seems possible that someone might choose the
names of some files badly and the unpredictable ordering in BBPATH
will cause grief, no?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

end of thread, other threads:[~2012-07-09 23:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-08 17:59 more pedantry -- looking to clarify layers definition, BBPATH, BBFILES, etc Robert P. J. Day
2012-07-09  9:05 ` Andrei Gherzan
2012-07-09 20:34   ` Robert P. J. Day
2012-07-09 20:37     ` Andrei Gherzan
2012-07-09 21:23     ` Paul Eggleton
2012-07-09 22:48       ` Robert P. J. Day
2012-07-09  9:23 ` Martin Jansa
2012-07-09  9:28   ` Martin Jansa

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