summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/meta/meta-toolchain.bb2
-rw-r--r--meta/recipes-core/tasks/task-cross-canadian.bb15
-rw-r--r--meta/recipes-core/tasks/task-sdk-host.bb5
3 files changed, 17 insertions, 5 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}"
13IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}" 13IPKG_HOST = "opkg-cl -f ${IPKGCONF_SDK} -o ${SDK_OUTPUT}"
14IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDKTARGETSYSROOT}" 14IPKG_TARGET = "opkg-cl -f ${IPKGCONF_TARGET} -o ${SDK_OUTPUT}/${SDKTARGETSYSROOT}"
15 15
16TOOLCHAIN_HOST_TASK ?= "task-sdk-host" 16TOOLCHAIN_HOST_TASK ?= "task-sdk-host task-cross-canadian"
17TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg" 17TOOLCHAIN_TARGET_TASK ?= "task-poky-standalone-sdk-target task-poky-standalone-sdk-target-dbg"
18TOOLCHAIN_OUTPUTNAME ?= "${SDK_NAME}-toolchain-${DISTRO_VERSION}" 18TOOLCHAIN_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 @@
1DESCRIPTION = "Host SDK package for cross canadian toolchain"
2PR = "r0"
3LICENSE = "MIT"
4ALLOW_EMPTY = "1"
5
6inherit cross-canadian
7
8PACKAGES = "${PN}"
9
10RDEPENDS_${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
5DESCRIPTION = "Host packages for the standalone SDK or external toolchain" 5DESCRIPTION = "Host packages for the standalone SDK or external toolchain"
6PR = "r8" 6PR = "r9"
7LICENSE = "MIT" 7LICENSE = "MIT"
8ALLOW_EMPTY = "1" 8ALLOW_EMPTY = "1"
9 9
@@ -12,9 +12,6 @@ inherit nativesdk
12PACKAGES = "${PN}" 12PACKAGES = "${PN}"
13 13
14RDEPENDS_${PN} = "\ 14RDEPENDS_${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 \