summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2011-01-18 10:24:17 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-25 10:59:17 +0000
commit7109712a25762a530e7385bc796c3b9ff0836303 (patch)
treeb398001e2ea2357765eb9c27139e651145d7a7c4 /meta/classes/cross.bbclass
parentbeb9166b3adf83c5e864afcb56cf9ea24f55a7c3 (diff)
downloadpoky-7109712a25762a530e7385bc796c3b9ff0836303.tar.gz
cross.bbclass: make MULTIMACH_TARGET_SYS adjustable for bindir, libdir, libexecdir
This will be used by gcc-cross-initial and gcc-cross-intermediate. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 6ec98b2395..6d7c7cd463 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -40,15 +40,16 @@ target_prefix := "${prefix}"
40target_exec_prefix := "${exec_prefix}" 40target_exec_prefix := "${exec_prefix}"
41 41
42# Overrides for paths 42# Overrides for paths
43CROSS_TARGET_SYS_DIR = "${MULTIMACH_TARGET_SYS}"
43prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 44prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
44base_prefix = "${STAGING_DIR_NATIVE}" 45base_prefix = "${STAGING_DIR_NATIVE}"
45exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 46exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
46bindir = "${exec_prefix}/bin/${MULTIMACH_TARGET_SYS}" 47bindir = "${exec_prefix}/bin/${CROSS_TARGET_SYS_DIR}"
47sbindir = "${bindir}" 48sbindir = "${bindir}"
48base_bindir = "${bindir}" 49base_bindir = "${bindir}"
49base_sbindir = "${bindir}" 50base_sbindir = "${bindir}"
50libdir = "${exec_prefix}/lib/${MULTIMACH_TARGET_SYS}" 51libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}"
51libexecdir = "${exec_prefix}/libexec/${MULTIMACH_TARGET_SYS}" 52libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}"
52 53
53do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" 54do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}"
54 55