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/classes/cross.bbclass | |
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/classes/cross.bbclass')
-rw-r--r-- | meta/classes/cross.bbclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index de44e99d70..7c20be0b81 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -43,8 +43,12 @@ target_exec_prefix := "${exec_prefix}" | |||
43 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 43 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |
44 | base_prefix = "${STAGING_DIR_NATIVE}" | 44 | base_prefix = "${STAGING_DIR_NATIVE}" |
45 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 45 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |
46 | base_sbindir = "${base_prefix}/bin" | 46 | bindir = "${exec_prefix}/bin/${MULTIMACH_TARGET_SYS}" |
47 | sbindir = "${exec_prefix}/bin" | 47 | sbindir = "${bindir}" |
48 | base_bindir = "${bindir}" | ||
49 | base_sbindir = "${bindir}" | ||
50 | libdir = "${exec_prefix}/lib/${MULTIMACH_TARGET_SYS}" | ||
51 | libexecdir = "${exec_prefix}/libexec/${MULTIMACH_TARGET_SYS}" | ||
48 | 52 | ||
49 | do_install () { | 53 | do_install () { |
50 | oe_runmake 'DESTDIR=${D}' install | 54 | oe_runmake 'DESTDIR=${D}' install |