]> code.ossystems Code Review - openembedded-core.git/commit
oe-buildenv-internal: add BBPATH_EXTRA to BB_ENV_EXTRAWHITE_OE
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 25 Apr 2016 08:47:43 +0000 (01:47 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 May 2016 13:42:17 +0000 (14:42 +0100)
commita3d223284854a21c84e8f6d075d23b32789afa01
treebfed21b25bc99bb6a46ca8081bef621ab9d0c03c
parenta3e958fae0cd6349a03fececcaa3d880c73b9298
oe-buildenv-internal: add BBPATH_EXTRA to BB_ENV_EXTRAWHITE_OE

So that user can easily make their own conf files such as conf/site.conf
work. For example, poky's default BBPATH in bblayers.conf is:
BBPATH = "${TOPDIR}"
Will change it to:
BBPATH_EXTRA ??= ""
BBPATH = "${BBPATH_EXTRA}${TOPDIR}"

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]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-buildenv-internal