diff options
author | Dexuan Cui <dexuan.cui@intel.com> | 2011-01-18 10:24:17 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-25 10:59:17 +0000 |
commit | 7109712a25762a530e7385bc796c3b9ff0836303 (patch) | |
tree | b398001e2ea2357765eb9c27139e651145d7a7c4 /meta | |
parent | beb9166b3adf83c5e864afcb56cf9ea24f55a7c3 (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/cross.bbclass | 7 |
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}" | |||
40 | target_exec_prefix := "${exec_prefix}" | 40 | target_exec_prefix := "${exec_prefix}" |
41 | 41 | ||
42 | # Overrides for paths | 42 | # Overrides for paths |
43 | CROSS_TARGET_SYS_DIR = "${MULTIMACH_TARGET_SYS}" | ||
43 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 44 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |
44 | base_prefix = "${STAGING_DIR_NATIVE}" | 45 | base_prefix = "${STAGING_DIR_NATIVE}" |
45 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 46 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |
46 | bindir = "${exec_prefix}/bin/${MULTIMACH_TARGET_SYS}" | 47 | bindir = "${exec_prefix}/bin/${CROSS_TARGET_SYS_DIR}" |
47 | sbindir = "${bindir}" | 48 | sbindir = "${bindir}" |
48 | base_bindir = "${bindir}" | 49 | base_bindir = "${bindir}" |
49 | base_sbindir = "${bindir}" | 50 | base_sbindir = "${bindir}" |
50 | libdir = "${exec_prefix}/lib/${MULTIMACH_TARGET_SYS}" | 51 | libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}" |
51 | libexecdir = "${exec_prefix}/libexec/${MULTIMACH_TARGET_SYS}" | 52 | libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}" |
52 | 53 | ||
53 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" | 54 | do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" |
54 | 55 | ||