diff options
author | Lianhao Lu <lianhao.lu@intel.com> | 2010-12-01 10:13:01 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-12-10 15:36:30 +0000 |
commit | 322d6ab29902a51bd46303a4aed9f2b0b63cdb44 (patch) | |
tree | bbaafa1a244783689f0c2047709f3a5ecafbebf4 /meta/recipes-devtools | |
parent | c47cfc56c779304a575507793618dccad178432f (diff) | |
download | openembedded-core-322d6ab29902a51bd46303a4aed9f2b0b63cdb44.tar.gz openembedded-core-322d6ab29902a51bd46303a4aed9f2b0b63cdb44.tar.bz2 openembedded-core-322d6ab29902a51bd46303a4aed9f2b0b63cdb44.tar.xz openembedded-core-322d6ab29902a51bd46303a4aed9f2b0b63cdb44.zip |
cross-canadian: pkg name includes target arch
This commit fixes Bug #528.
1. Added the target arch name to the pkg name of gcc-cross-canadian,
gdb-cross-candian and bintuils-cross-candian.
2. Move the cross-canadian pkgs out of task-sdk-host into a new task
task-cross-canadian.
3. Added the RDEPENDS of task-cross-canadian into meta-toolchain.
Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Diffstat (limited to 'meta/recipes-devtools')
7 files changed, 22 insertions, 8 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc index 4953bc2c3..68a8e5a3a 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc @@ -1,4 +1,10 @@ inherit cross-canadian + + +DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target" +PN = "binutils-cross-canadian-${TARGET_ARCH}" +BPN = "binutils" + DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ --program-prefix=${TARGET_PREFIX}" diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb index 631be4fe7..1621b77e9 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian_2.20.1.bb @@ -1,3 +1,3 @@ require binutils_${PV}.bb require binutils-cross-canadian.inc -PR = "r5" +PR = "r6" diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index a3b15c3dc..0d39900ca 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc @@ -1,4 +1,8 @@ inherit cross-canadian +DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH} target." +PN = "gcc-cross-canadian-${TARGET_ARCH}" +BPN = "gcc" + DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk" diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.3.3.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.3.3.bb index 43bab3961..d420f80f2 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.3.3.bb +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.3.3.bb @@ -5,7 +5,7 @@ require gcc-cross-canadian.inc require gcc-configure-sdk.inc require gcc-package-sdk.inc -PR = "r19" +PR = "r20" DEPENDS += "gmp-nativesdk mpfr-nativesdk" RDEPENDS_${PN} += "mpfr-nativesdk" diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb index e160aab8a..98e239d92 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_4.5.1.bb @@ -5,7 +5,7 @@ require gcc-cross-canadian.inc require gcc-configure-sdk.inc require gcc-package-sdk.inc -PR = "r0" +PR = "r1" DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian.inc b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc new file mode 100644 index 000000000..8fe5ad823 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc @@ -0,0 +1,7 @@ +inherit cross-canadian + +DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger" +PN = "gdb-cross-canadian-${TARGET_ARCH}" +BPN = "gdb" + +DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk" diff --git a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb index 5982c0568..ca44b3c4f 100644 --- a/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian_7.2.bb @@ -1,10 +1,7 @@ require gdb-common.inc +require gdb-cross-canadian.inc -DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk" - -inherit cross-canadian - -PR = "r0" +PR = "r1" GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" EXPAT = "--with-expat" |