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/cross.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/cross.bbclass')
-rw-r--r-- | meta/classes/cross.bbclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index b7d33f5e32..a8f3b601c2 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass | |||
@@ -19,6 +19,8 @@ HOST_AS_ARCH = "${BUILD_AS_ARCH}" | |||
19 | 19 | ||
20 | STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}" | 20 | STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}" |
21 | 21 | ||
22 | PACKAGE_ARCH = "${BUILD_ARCH}" | ||
23 | |||
22 | export PKG_CONFIG_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig" | 24 | export PKG_CONFIG_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}${libdir}/pkgconfig" |
23 | export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 25 | export PKG_CONFIG_SYSROOT_DIR = "${STAGING_DIR}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" |
24 | 26 | ||
@@ -43,7 +45,7 @@ target_libdir = "${target_exec_prefix}/${baselib}" | |||
43 | target_includedir := "${includedir}" | 45 | target_includedir := "${includedir}" |
44 | 46 | ||
45 | # Overrides for paths | 47 | # Overrides for paths |
46 | CROSS_TARGET_SYS_DIR = "${MULTIMACH_TARGET_SYS}" | 48 | CROSS_TARGET_SYS_DIR = "${TARGET_SYS}" |
47 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 49 | prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |
48 | base_prefix = "${STAGING_DIR_NATIVE}" | 50 | base_prefix = "${STAGING_DIR_NATIVE}" |
49 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | 51 | exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" |