diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2017-05-03 23:13:38 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-05-11 16:55:59 +0100 |
commit | 439bb8cc711799b45a7f14dc8bcb1d524d993ab2 (patch) | |
tree | bc32469f2430d7ba41aedaba6124956fcd3e4062 /meta/conf | |
parent | 3e655f9c7f0f4f778dc9eedd9f7405fc84b4c9ad (diff) | |
download | poky-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')
-rw-r--r-- | meta/conf/bitbake.conf | 3 |
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}" | |||
351 | B = "${S}" | 351 | B = "${S}" |
352 | 352 | ||
353 | STAGING_DIR = "${TMPDIR}/sysroots" | 353 | STAGING_DIR = "${TMPDIR}/sysroots" |
354 | COMPONENTS_DIR = "${STAGING_DIR}-components" | ||
354 | RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot" | 355 | RECIPE_SYSROOT = "${WORKDIR}/recipe-sysroot" |
355 | RECIPE_SYSROOT_NATIVE = "${WORKDIR}/recipe-sysroot-native" | 356 | RECIPE_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 |
656 | PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" | 657 | PSEUDO_LOCALSTATEDIR ?= "${WORKDIR}/pseudo/" |
657 | PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${PSEUDO_SYSROOT}" | 658 | PSEUDO_PASSWD ?= "${STAGING_DIR_TARGET}:${PSEUDO_SYSROOT}" |
658 | PSEUDO_SYSROOT = "${STAGING_DIR}-components/${BUILD_ARCH}/pseudo-native" | 659 | PSEUDO_SYSROOT = "${COMPONENTS_DIR}/${BUILD_ARCH}/pseudo-native" |
659 | export PSEUDO_DISABLED = "1" | 660 | export 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}" |