Skip to contentSkip to conversation

bblayers.conf.sample: update BBPATH to use BBPATH_EXTRA

PATCH In review Robert Yang 1 participant 3 messages Apr 25, 2016 – May 24, 2016

lore
Share & tools
lore
#1 lore raw

PATCH 1/1 bblayers.conf.sample: update BBPATH to use BBPATH_EXTRA

In reply to Robert Yang

So that user can easily make their own conf files such as conf/site.conf When user sets BBPATH_EXTRA in env to their own dir which contains conf/site.conf, it will work.

Note, BBPATH_EXTRA must end with ":", we can't set BBPATH as "${BBPATH_EXTRA}:${TOPDIR}" since the sanity would fail when BBPATH_EXTRA is null.

[YOCTO #7837]

---
 meta-poky/conf/bblayers.conf.sample | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-poky/conf/bblayers.conf.sample +2 -1
index 8b1cbdf..3857656 100644
@@ -2,7 +2,8 @@
 # changes incompatibly
 POKY_BBLAYERS_CONF_VERSION = "2"
 
-BBPATH = "${TOPDIR}"
+BBPATH_EXTRA ??= ""
+BBPATH = "${BBPATH_EXTRA}${TOPDIR}"
 BBFILES ?= ""
 
 BBLAYERS ?= " \
Signature · 1 line
2.8.0
#0 lore raw

cover bblayers.conf.sample: update BBPATH to use BBPATH_EXTRA

The following changes since commit a9b503b268e94d311f892fa00c5d6bd9ffdb228e:

license.bbclass: make sure that image manifest dir exists (2016-04-22 16:28:57 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/bbpath
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/bbpath

Robert Yang (1):
bblayers.conf.sample: update BBPATH to use BBPATH_EXTRA

 meta-poky/conf/bblayers.conf.sample | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.8.0
#2 lore raw

ping.

// Robert

Quoted 15 lines · Robert Yang

The following changes since commit a9b503b268e94d311f892fa00c5d6bd9ffdb228e:

license.bbclass: make sure that image manifest dir exists (2016-04-22 16:28:57 +0100)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/bbpath
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/bbpath

Robert Yang (1):
bblayers.conf.sample: update BBPATH to use BBPATH_EXTRA

  meta-poky/conf/bblayers.conf.sample | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)