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-core/tasks | |
parent | c47cfc56c779304a575507793618dccad178432f (diff) | |
download | poky-322d6ab29902a51bd46303a4aed9f2b0b63cdb44.tar.gz |
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-core/tasks')
-rw-r--r-- | meta/recipes-core/tasks/task-cross-canadian.bb | 15 | ||||
-rw-r--r-- | meta/recipes-core/tasks/task-sdk-host.bb | 5 |
2 files changed, 16 insertions, 4 deletions
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 \ |