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/recipes-core | |
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/recipes-core')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-initial.inc | 6 | ||||
-rw-r--r-- | meta/recipes-core/eglibc/eglibc.inc | 4 | ||||
-rw-r--r-- | meta/recipes-core/meta/meta-ide-support.bb | 2 | ||||
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-initial_git.bb | 4 | ||||
-rw-r--r-- | meta/recipes-core/uclibc/uclibc_git.bb | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-initial.inc b/meta/recipes-core/eglibc/eglibc-initial.inc index 4cc6ffea99..92402f8ff5 100644 --- a/meta/recipes-core/eglibc/eglibc-initial.inc +++ b/meta/recipes-core/eglibc/eglibc-initial.inc | |||
@@ -4,9 +4,9 @@ PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | |||
4 | PACKAGES = "" | 4 | PACKAGES = "" |
5 | PACKAGES_DYNAMIC = "" | 5 | PACKAGES_DYNAMIC = "" |
6 | 6 | ||
7 | STAGINGCC = "gcc-cross-initial" | 7 | STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" |
8 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial" | 8 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${TARGET_ARCH}" |
9 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TARGET}" | 9 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" |
10 | 10 | ||
11 | do_configure () { | 11 | do_configure () { |
12 | sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure | 12 | sed -ie 's,{ (exit 1); exit 1; }; },{ (exit 0); }; },g' ${S}/configure |
diff --git a/meta/recipes-core/eglibc/eglibc.inc b/meta/recipes-core/eglibc/eglibc.inc index 5008cf2931..30654f6d88 100644 --- a/meta/recipes-core/eglibc/eglibc.inc +++ b/meta/recipes-core/eglibc/eglibc.inc | |||
@@ -2,8 +2,8 @@ require eglibc-common.inc | |||
2 | require eglibc-ld.inc | 2 | require eglibc-ld.inc |
3 | require eglibc-testing.inc | 3 | require eglibc-testing.inc |
4 | 4 | ||
5 | STAGINGCC = "gcc-cross-initial" | 5 | STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" |
6 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial" | 6 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${TARGET_ARCH}" |
7 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" | 7 | PATH_prepend = "${STAGING_BINDIR_TOOLCHAIN}.${STAGINGCC}:" |
8 | 8 | ||
9 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" | 9 | TOOLCHAIN_OPTIONS = " --sysroot=${STAGING_DIR_TCBOOTSTRAP}" |
diff --git a/meta/recipes-core/meta/meta-ide-support.bb b/meta/recipes-core/meta/meta-ide-support.bb index 40bda28949..03cad6ed69 100644 --- a/meta/recipes-core/meta/meta-ide-support.bb +++ b/meta/recipes-core/meta/meta-ide-support.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "MIT" | |||
4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | 4 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ |
5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 5 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
6 | 6 | ||
7 | DEPENDS = "virtual/libc gdb-cross qemu-native qemu-helper-native unfs3-native" | 7 | DEPENDS = "virtual/libc gdb-cross-${TARGET_ARCH} qemu-native qemu-helper-native unfs3-native" |
8 | PR = "r3" | 8 | PR = "r3" |
9 | 9 | ||
10 | inherit meta toolchain-scripts | 10 | inherit meta toolchain-scripts |
diff --git a/meta/recipes-core/uclibc/uclibc-initial_git.bb b/meta/recipes-core/uclibc/uclibc-initial_git.bb index 6433229174..c937ccb108 100644 --- a/meta/recipes-core/uclibc/uclibc-initial_git.bb +++ b/meta/recipes-core/uclibc/uclibc-initial_git.bb | |||
@@ -8,8 +8,8 @@ PROVIDES = "virtual/${TARGET_PREFIX}libc-initial" | |||
8 | PACKAGES = "" | 8 | PACKAGES = "" |
9 | PACKAGES_DYNAMIC = "" | 9 | PACKAGES_DYNAMIC = "" |
10 | 10 | ||
11 | STAGINGCC = "gcc-cross-initial" | 11 | STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" |
12 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial" | 12 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${TARGET_ARCH}" |
13 | 13 | ||
14 | do_install() { | 14 | do_install() { |
15 | # Install initial headers into the cross dir | 15 | # Install initial headers into the cross dir |
diff --git a/meta/recipes-core/uclibc/uclibc_git.bb b/meta/recipes-core/uclibc/uclibc_git.bb index 38a7e45517..fd02b3d612 100644 --- a/meta/recipes-core/uclibc/uclibc_git.bb +++ b/meta/recipes-core/uclibc/uclibc_git.bb | |||
@@ -2,8 +2,8 @@ require uclibc.inc | |||
2 | require uclibc-package.inc | 2 | require uclibc-package.inc |
3 | require uclibc-git.inc | 3 | require uclibc-git.inc |
4 | 4 | ||
5 | STAGINGCC = "gcc-cross-initial" | 5 | STAGINGCC = "gcc-cross-initial-${TARGET_ARCH}" |
6 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial" | 6 | STAGINGCC_class-nativesdk = "gcc-crosssdk-initial-${TARGET_ARCH}" |
7 | 7 | ||
8 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" | 8 | PROVIDES += "virtual/libc virtual/${TARGET_PREFIX}libc-for-gcc" |
9 | 9 | ||