summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 17:04:21 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-30 17:32:31 +0100
commit8c2e3c96790494014bf68de5b53dfab314aef47f (patch)
tree28c5bdade0f3c382f436f95deb4ab73d7abcfa8f
parent534f31903b98de9298c69f4de4d6cd1c51d394d6 (diff)
downloadpoky-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>
-rw-r--r--meta/conf/bitbake.conf2
-rw-r--r--meta/conf/layer.conf4
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
405PATH_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}:" 405PATH_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}:"
406export PATH 406export 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
12COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}' 12COREBASE := '${@os.path.normpath("${LAYERDIR}/../")}'
13 13
14# Add scripts to PATH
15PATH := "${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
19QEMUIMAGETESTS := "${COREBASE}/scripts/qemuimage-tests" 15QEMUIMAGETESTS := "${COREBASE}/scripts/qemuimage-tests"
20 16
21SIGGEN_EXCLUDERECIPES_ABISAFE += " \ 17SIGGEN_EXCLUDERECIPES_ABISAFE += " \