diff options
10 files changed, 39 insertions, 13 deletions
diff --git a/meta/recipes-core/meta/meta-toolchain.bb b/meta/recipes-core/meta/meta-toolchain.bb index 2fab8f94b2..8b62fab6bd 100644 --- a/meta/recipes-core/meta/meta-toolchain.bb +++ b/meta/recipes-core/meta/meta-toolchain.bb | |||
@@ -13,7 +13,7 @@ SDKTARGETSYSROOT = "${SDKPATH}/sysroots/${TARGET_SYS}" | |||
13 | IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" | 13 | IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" |
14 | IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDKTARGETSYSROOT}" | 14 | IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDKTARGETSYSROOT}" |
15 | 15 | ||
16 | TOOLCHAIN_HOST_TASK ?= "task-sdk-host" | 16 | TOOLCHAIN_HOST_TASK ?= "task-sdk-host task-cross-canadian" |
17 | TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg" | 17 | TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg" |
18 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" | 18 | TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" |
19 | 19 | ||
diff --git a/meta/recipes-core/tasks/task-cross-canadian.bb b/meta/recipes-core/tasks/task-cross-canadian.bb new file mode 100644 index 0000000000..6a7cd2e9e6 --- /dev/null +++ b/meta/recipes-core/tasks/task-cross-canadian.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | DESCRIPTION = "Host SDK package for cross canadian toolchain" | ||
2 | PR = "r0" | ||
3 | LICENSE = "MIT" | ||
4 | ALLOW_EMPTY = "1" | ||
5 | |||
6 | inherit cross-canadian | ||
7 | |||
8 | PACKAGES = "${PN}" | ||
9 | |||
10 | RDEPENDS_${PN} = "\ | ||
11 | binutils-cross-canadian-${TARGET_ARCH} \ | ||
12 | gdb-cross-canadian-${TARGET_ARCH} \ | ||
13 | gcc-cross-canadian-${TARGET_ARCH} \ | ||
14 | " | ||
15 | |||
diff --git a/meta/recipes-core/tasks/task-sdk-host.bb b/meta/recipes-core/tasks/task-sdk-host.bb index bccf48dbde..7bf445386a 100644 --- a/meta/recipes-core/tasks/task-sdk-host.bb +++ b/meta/recipes-core/tasks/task-sdk-host.bb | |||
@@ -3,7 +3,7 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | DESCRIPTION = "Host packages for the standalone SDK or external toolchain" | 5 | DESCRIPTION = "Host packages for the standalone SDK or external toolchain" |
6 | PR = "r8" | 6 | PR = "r9" |
7 | LICENSE = "MIT" | 7 | LICENSE = "MIT" |
8 | ALLOW_EMPTY = "1" | 8 | ALLOW_EMPTY = "1" |
9 | 9 | ||
@@ -12,9 +12,6 @@ inherit nativesdk | |||
12 | PACKAGES = "${PN}" | 12 | PACKAGES = "${PN}" |
13 | 13 | ||
14 | RDEPENDS_${PN} = "\ | 14 | RDEPENDS_${PN} = "\ |
15 | binutils-cross-canadian \ | ||
16 | gdb-cross-canadian \ | ||
17 | gcc-cross-canadian \ | ||
18 | pkgconfig-nativesdk \ | 15 | pkgconfig-nativesdk \ |
19 | qemu-nativesdk \ | 16 | qemu-nativesdk \ |
20 | qemu-helper-nativesdk \ | 17 | qemu-helper-nativesdk \ |
diff --git a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc index 4953bc2c3b..68a8e5a3a0 100644 --- a/meta/recipes-devtools/binutils/binutils-cross-canadian.inc +++ b/meta/recipes-devtools/binutils/binutils-cross-canadian.inc | |||
@@ -1,4 +1,10 @@ | |||
1 | inherit cross-canadian | 1 | inherit cross-canadian |
2 | |||
3 | |||
4 | DESCRIPTION = "A GNU collection of cross-canadian binary utilities for ${TARGET_ARCH} target" | ||
5 | PN = "binutils-cross-canadian-${TARGET_ARCH}" | ||
6 | BPN = "binutils" | ||
7 | |||
2 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" | 8 | DEPENDS = "flex-native bison-native virtual/${HOST_PREFIX}gcc-crosssdk virtual/libc-nativesdk zlib-nativesdk gettext-nativesdk" |
3 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ | 9 | EXTRA_OECONF = "--with-sysroot=${SDKPATH}/sysroots/${TARGET_SYS} \ |
4 | --program-prefix=${TARGET_PREFIX}" | 10 | --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 631be4fe7f..1621b77e9d 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 @@ | |||
1 | require binutils_${PV}.bb | 1 | require binutils_${PV}.bb |
2 | require binutils-cross-canadian.inc | 2 | require binutils-cross-canadian.inc |
3 | PR = "r5" | 3 | PR = "r6" |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc index a3b15c3dc6..0d39900cae 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian.inc +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian.inc | |||
@@ -1,4 +1,8 @@ | |||
1 | inherit cross-canadian | 1 | inherit cross-canadian |
2 | 2 | ||
3 | DESCRIPTION = "The cross-canadian GNU cc and gcc C compilers for ${TARGET_ARCH} target." | ||
4 | PN = "gcc-cross-canadian-${TARGET_ARCH}" | ||
5 | BPN = "gcc" | ||
6 | |||
3 | DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk" | 7 | DEPENDS = "virtual/${HOST_PREFIX}binutils-crosssdk virtual/${TARGET_PREFIX}libc-for-gcc gettext-nativesdk" |
4 | 8 | ||
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 43bab3961d..d420f80f26 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 | |||
5 | require gcc-configure-sdk.inc | 5 | require gcc-configure-sdk.inc |
6 | require gcc-package-sdk.inc | 6 | require gcc-package-sdk.inc |
7 | 7 | ||
8 | PR = "r19" | 8 | PR = "r20" |
9 | 9 | ||
10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" | 10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk" |
11 | RDEPENDS_${PN} += "mpfr-nativesdk" | 11 | 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 e160aab8a2..98e239d92c 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 | |||
5 | require gcc-configure-sdk.inc | 5 | require gcc-configure-sdk.inc |
6 | require gcc-package-sdk.inc | 6 | require gcc-package-sdk.inc |
7 | 7 | ||
8 | PR = "r0" | 8 | PR = "r1" |
9 | 9 | ||
10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" | 10 | DEPENDS += "gmp-nativesdk mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" |
11 | RDEPENDS_${PN} += "mpfr-nativesdk libmpc-nativesdk elfutils-nativesdk" | 11 | 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 0000000000..8fe5ad8235 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb-cross-canadian.inc | |||
@@ -0,0 +1,7 @@ | |||
1 | inherit cross-canadian | ||
2 | |||
3 | DESCRIPTION = "cross-canadian gdb for ${TARGET_ARCH} target - GNU debugger" | ||
4 | PN = "gdb-cross-canadian-${TARGET_ARCH}" | ||
5 | BPN = "gdb" | ||
6 | |||
7 | 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 5982c0568e..ca44b3c4f0 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 @@ | |||
1 | require gdb-common.inc | 1 | require gdb-common.inc |
2 | require gdb-cross-canadian.inc | ||
2 | 3 | ||
3 | DEPENDS = "ncurses-nativesdk expat-nativesdk gettext-nativesdk" | 4 | PR = "r1" |
4 | |||
5 | inherit cross-canadian | ||
6 | |||
7 | PR = "r0" | ||
8 | 5 | ||
9 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" | 6 | GDBPROPREFIX = "--program-prefix='${TARGET_PREFIX}'" |
10 | EXPAT = "--with-expat" | 7 | EXPAT = "--with-expat" |