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-devtools/binutils | |
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-devtools/binutils')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-cross.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross.inc b/meta/recipes-devtools/binutils/binutils-cross.inc index 300a1d39ec..fd3d801491 100644 --- a/meta/recipes-devtools/binutils/binutils-cross.inc +++ b/meta/recipes-devtools/binutils/binutils-cross.inc | |||
@@ -1,6 +1,9 @@ | |||
1 | inherit cross | 1 | inherit cross |
2 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" | 2 | PROVIDES = "virtual/${TARGET_PREFIX}binutils" |
3 | 3 | ||
4 | PN = "binutils-cross-${TARGET_ARCH}" | ||
5 | BPN = "binutils" | ||
6 | |||
4 | INHIBIT_DEFAULT_DEPS = "1" | 7 | INHIBIT_DEFAULT_DEPS = "1" |
5 | INHIBIT_AUTOTOOLS_DEPS = "1" | 8 | INHIBIT_AUTOTOOLS_DEPS = "1" |
6 | 9 | ||
diff --git a/meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb b/meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb index 8af407f6e0..b6d9a215e1 100644 --- a/meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb +++ b/meta/recipes-devtools/binutils/binutils-crosssdk_2.24.bb | |||
@@ -2,6 +2,8 @@ require binutils-cross_${PV}.bb | |||
2 | 2 | ||
3 | inherit crosssdk | 3 | inherit crosssdk |
4 | 4 | ||
5 | PN = "binutils-crosssdk-${TARGET_ARCH}" | ||
6 | |||
5 | PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" | 7 | PROVIDES = "virtual/${TARGET_PREFIX}binutils-crosssdk" |
6 | 8 | ||
7 | SRC_URI += "file://relocatable_sdk.patch" | 9 | SRC_URI += "file://relocatable_sdk.patch" |