diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-27 01:23:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-30 16:39:06 +0100 |
commit | e078edbf99f733c04ec8ca50ff10d2200b6d14d4 (patch) | |
tree | 627f73b4257adf3202d4302090c9e11ce3895807 /meta/classes/sstate.bbclass | |
parent | 03a0f8e8b4e286bfcc0076e7380ce26d1b1b106a (diff) | |
download | poky-e078edbf99f733c04ec8ca50ff10d2200b6d14d4.tar.gz |
binutils/gcc/gdb: Add TARGET_ARCH to PN for all cross recipes
This allows them to co-exist together in the native sysroot, with one
set of cross tools per target architecture.
(From OE-Core rev: a2c5509520d5c3e082f55844e6545d0309565f8f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 7b16bc04d5..46cc2677d6 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -22,10 +22,6 @@ SSTATE_PATHSPEC = "${SSTATE_DIR}/${SSTATE_EXTRAPATHWILDCARD}*/${SSTATE_PKGSPEC | |||
22 | SSTATE_EXTRAPATH[vardepvalue] = "" | 22 | SSTATE_EXTRAPATH[vardepvalue] = "" |
23 | 23 | ||
24 | SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/" | 24 | SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/" |
25 | # Also need to make cross recipes append to ${PN} and install once for any given PACAGE_ARCH so | ||
26 | # can avoid multiple installs (e.g. routerstationpro+qemumips both using mips32) | ||
27 | SSTATE_DUPWHITELIST += "${STAGING_LIBDIR_NATIVE}/${MULTIMACH_TARGET_SYS} ${STAGING_DIR_NATIVE}/usr/libexec/${MULTIMACH_TARGET_SYS} ${STAGING_BINDIR_NATIVE}/${MULTIMACH_TARGET_SYS} ${STAGING_DIR_NATIVE}${includedir_native}/gcc-build-internal-${MULTIMACH_TARGET_SYS}" | ||
28 | SSTATE_DUPWHITELIST += "${STAGING_DIR_NATIVE}/sysroot-providers/virtual_${TARGET_PREFIX} ${STAGING_DIR_NATIVE}/sysroot-providers/binutils-cross ${STAGING_DIR_NATIVE}/sysroot-providers/gcc-cross" | ||
29 | # Avoid docbook/sgml catalog warnings for now | 25 | # Avoid docbook/sgml catalog warnings for now |
30 | SSTATE_DUPWHITELIST += "${STAGING_ETCDIR_NATIVE}/sgml ${STAGING_DATADIR_NATIVE}/sgml" | 26 | SSTATE_DUPWHITELIST += "${STAGING_ETCDIR_NATIVE}/sgml ${STAGING_DATADIR_NATIVE}/sgml" |
31 | 27 | ||
@@ -51,8 +47,7 @@ python () { | |||
51 | elif bb.data.inherits_class('crosssdk', d): | 47 | elif bb.data.inherits_class('crosssdk', d): |
52 | d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${SDK_ARCH}")) | 48 | d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${SDK_ARCH}")) |
53 | elif bb.data.inherits_class('cross', d): | 49 | elif bb.data.inherits_class('cross', d): |
54 | d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${TUNE_PKGARCH}")) | 50 | d.setVar('SSTATE_PKGARCH', d.expand("${BUILD_ARCH}_${TARGET_ARCH}")) |
55 | d.setVar('SSTATE_MANMACH', d.expand("${BUILD_ARCH}_${MACHINE}")) | ||
56 | elif bb.data.inherits_class('nativesdk', d): | 51 | elif bb.data.inherits_class('nativesdk', d): |
57 | d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}")) | 52 | d.setVar('SSTATE_PKGARCH', d.expand("${SDK_ARCH}")) |
58 | elif bb.data.inherits_class('cross-canadian', d): | 53 | elif bb.data.inherits_class('cross-canadian', d): |