diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-23 18:04:59 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-07-23 18:04:59 +0100 |
commit | 66d7b58f224e55b70b80a01d451270b7de757885 (patch) | |
tree | d59b92cedeb3894561faf499e39baea21b368e40 /meta/conf | |
parent | bf8023237c6fe43781fa4ce0db00f2b08cab7817 (diff) | |
download | poky-66d7b58f224e55b70b80a01d451270b7de757885.tar.gz |
bitbake.conf/cross.bbclass: Inject MULTIMACH_TARGET_SYS into the toolchain paths to prevent multimachine cross contamination
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
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 819efc3d58..67dd840959 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -259,6 +259,7 @@ STAGING_DIR = "${TMPDIR}/sysroots" | |||
259 | STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}" | 259 | STAGING_DIR_NATIVE = "${STAGING_DIR}/${BUILD_SYS}" |
260 | STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}" | 260 | STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}" |
261 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR}/crossscripts" | 261 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR}/crossscripts" |
262 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${BASEPKG_TARGET_SYS}" | ||
262 | STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}" | 263 | STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}" |
263 | STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}" | 264 | STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}" |
264 | STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${sysconfdir_native}" | 265 | STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${sysconfdir_native}" |
@@ -360,7 +361,7 @@ EXTRA_IMAGEDEPENDS = "" | |||
360 | # Toolchain info. | 361 | # Toolchain info. |
361 | ################################################################## | 362 | ################################################################## |
362 | 363 | ||
363 | PATH_prepend = "${STAGING_BINDIR_CROSS}:${STAGING_DIR_NATIVE}${sbindir_native}:${STAGING_BINDIR_NATIVE}:${STAGING_DIR_NATIVE}${base_sbindir_native}:${STAGING_DIR_NATIVE}/${base_bindir_native}:" | 364 | 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}:" |
364 | export PATH | 365 | export PATH |
365 | 366 | ||
366 | ################################################################## | 367 | ################################################################## |