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/classes/cross.bbclass | |
parent | beb9166b3adf83c5e864afcb56cf9ea24f55a7c3 (diff) | |
download | openembedded-core-contrib-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.bbclass | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index 6ec98b23950..6d7c7cd4636 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass @@ -40,15 +40,16 @@ target_prefix := "${prefix}" target_exec_prefix := "${exec_prefix}" # Overrides for paths +CROSS_TARGET_SYS_DIR = "${MULTIMACH_TARGET_SYS}" prefix = "${STAGING_DIR_NATIVE}${prefix_native}" base_prefix = "${STAGING_DIR_NATIVE}" exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" -bindir = "${exec_prefix}/bin/${MULTIMACH_TARGET_SYS}" +bindir = "${exec_prefix}/bin/${CROSS_TARGET_SYS_DIR}" sbindir = "${bindir}" base_bindir = "${bindir}" base_sbindir = "${bindir}" -libdir = "${exec_prefix}/lib/${MULTIMACH_TARGET_SYS}" -libexecdir = "${exec_prefix}/libexec/${MULTIMACH_TARGET_SYS}" +libdir = "${exec_prefix}/lib/${CROSS_TARGET_SYS_DIR}" +libexecdir = "${exec_prefix}/libexec/${CROSS_TARGET_SYS_DIR}" do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}" |