summaryrefslogtreecommitdiffstats
path: root/meta/conf/bitbake.conf
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-05-03 23:13:38 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-11 16:55:59 +0100
commit439bb8cc711799b45a7f14dc8bcb1d524d993ab2 (patch)
treebc32469f2430d7ba41aedaba6124956fcd3e4062 /meta/conf/bitbake.conf
parent3e655f9c7f0f4f778dc9eedd9f7405fc84b4c9ad (diff)
downloadpoky-439bb8cc711799b45a7f14dc8bcb1d524d993ab2.tar.gz
bitbake.conf: Add COMPONENTS_DIR for ${STAGING_DIR}-components
The path to where to install and find the sysroot components is used in many places. This warrants it to get its own variable. (From OE-Core rev: 70a84b525470f72339568409daf84845904e4cab) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r--meta/conf/bitbake.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index a24be0551d..2dd2bb1640 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -351,6 +351,7 @@ S = "${WORKDIR}/${BP}"
351B = "${S}" 351B = "${S}"
352 352
353STAGING_DIR = "${TMPDIR}/sysroots" 353STAGING_DIR = "${TMPDIR}/sysroots"
354COMPONENTS_DIR = "${STAGING_DIR}-components"
354RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot" 355RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot"
355RECIPE_SYSROOT_NATIVE = "${WORKDIR}/recipe-sysroot-native" 356RECIPE_SYSROOT_NATIVE = "${WORKDIR}/recipe-sysroot-native"
356 357
@@ -655,7 +656,7 @@ SRC_URI = ""
655# Use pseudo as the fakeroot implementation 656# Use pseudo as the fakeroot implementation
656PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" 657PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/"
657PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${PSEUDO_SYSROOT}" 658PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${PSEUDO_SYSROOT}"
658PSEUDO_SYSROOT = "${STAGING_DIR}-components/${BUILD_ARCH}/pseudo-native" 659PSEUDO_SYSROOT = "${COMPONENTS_DIR}/${BUILD_ARCH}/pseudo-native"
659export PSEUDO_DISABLED = "1" 660export PSEUDO_DISABLED = "1"
660#export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}" 661#export PSEUDO_PREFIX = "${STAGING_DIR_NATIVE}${prefix_native}"
661#export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}" 662#export PSEUDO_BINDIR = "${STAGING_DIR_NATIVE}${bindir_native}"