]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
oe-buildenv-internal: Support extra settings rbt/path
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 12 Nov 2020 11:04:32 +0000 (19:04 +0800)
committerRobert Yang <liezhi.yang@windriver.com>
Thu, 12 Nov 2020 11:24:17 +0000 (19:24 +0800)
commit9d68429be743586fd36b8f76f086fea16968054f
tree44f4b2d3e327d771ed85de9ab2f9f8854418bce8
parent4dce4e01cfa153fb12cfd1684d36e0432bef6741
oe-buildenv-internal: Support extra settings

This can make it possible to do extra settings such as PATH for other layers,
for exampole, other layers may also have scripts directories as oe-core, we
have to run them with path since they are not in PATH, for example, there is a
tool meta-browser/scripts/firefox-gen-l10n-recipes, we have to use
/path/to/meta-browser/scripts to run it. Make oe-buildenv-internal check and
enable $OEROOT/extrasettings, and set a line like the following can fix the
problem:

PATH=/relative/to/$OEROOT/meta-browser/scripts:$PATH

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
scripts/oe-buildenv-internal