diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 17:04:21 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 17:32:31 +0100 |
commit | 8c2e3c96790494014bf68de5b53dfab314aef47f (patch) | |
tree | 28c5bdade0f3c382f436f95deb4ab73d7abcfa8f /meta/conf | |
parent | 534f31903b98de9298c69f4de4d6cd1c51d394d6 (diff) | |
download | poky-8c2e3c96790494014bf68de5b53dfab314aef47f.tar.gz |
layer.conf/bitbake.conf: Tweak PATH
We want the help2man script in scripts/ to be found in preference to any from
the host system and from the native sysroot. It turns out to be tricky to
get the order right from layer.conf so we move the addition of the scripts
directory to bitbake.conf.
Without this, "bitbake libtasn1 -c cleansstate; bitbake help2man-native; bitbake libtasn1"
will fail due to finding the host system help2man before ours.
(From OE-Core rev: 859255dd30958db018d40ede94a76db36a98da7f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 | ||||
-rw-r--r-- | meta/conf/layer.conf | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 48287a71ab..70a49c60e2 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -402,7 +402,7 @@ EXTRA_IMAGEDEPENDS = "" | |||
402 | # Toolchain info. | 402 | # Toolchain info. |
403 | ################################################################## | 403 | ################################################################## |
404 | 404 | ||
405 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:" | 405 | PATH_prepend = "${COREBASE}/scripts:${STAGING_BINDIR_TOOLCHAIN}:${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:" |
406 | export PATH | 406 | export PATH |
407 | 407 | ||
408 | ################################################################## | 408 | ################################################################## |
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index 76ae58ceb7..43e42957c5 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf | |||
@@ -11,11 +11,7 @@ BBFILE_PRIORITY_normal = "5" | |||
11 | # Set a variable to get to the top of the metadata location | 11 | # Set a variable to get to the top of the metadata location |
12 | COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}' | 12 | COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}' |
13 | 13 | ||
14 | # Add scripts to PATH | ||
15 | PATH := "${PATH}:${COREBASE}/scripts" | ||
16 | |||
17 | # Set path to qemu image tests included in this layer | 14 | # Set path to qemu image tests included in this layer |
18 | |||
19 | QEMUIMAGETESTS := "${COREBASE}/scripts/qemuimage-tests" | 15 | QEMUIMAGETESTS := "${COREBASE}/scripts/qemuimage-tests" |
20 | 16 | ||
21 | SIGGEN_EXCLUDERECIPES_ABISAFE += " \ | 17 | SIGGEN_EXCLUDERECIPES_ABISAFE += " \ |