diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2012-02-24 16:05:07 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-02-24 23:42:16 +0100 |
commit | d3c5c64debb2f7dd0d6211463f38b7d58925a58b (patch) | |
tree | 43b20ed9420da7b0e5d6720cd872c27328538448 /meta-oe | |
parent | 813e31e587d56389fb0d175b343ed15d1a6904cb (diff) | |
download | meta-openembedded-d3c5c64debb2f7dd0d6211463f38b7d58925a58b.tar.gz |
task-cli-tools: move ltrace to RRECOMMENDS as it's probably not available for shr4 and sh3 and use allarch
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-core/tasks/task-cli-tools.bb | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/meta-oe/recipes-core/tasks/task-cli-tools.bb b/meta-oe/recipes-core/tasks/task-cli-tools.bb index c6dc4a7c9..a849978b4 100644 --- a/meta-oe/recipes-core/tasks/task-cli-tools.bb +++ b/meta-oe/recipes-core/tasks/task-cli-tools.bb | |||
@@ -4,17 +4,12 @@ SECTION = "console" | |||
4 | LICENSE = "MIT" | 4 | LICENSE = "MIT" |
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | 5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" |
6 | PV = "1.0" | 6 | PV = "1.0" |
7 | PR = "r18" | 7 | PR = "r19" |
8 | 8 | ||
9 | inherit task | 9 | inherit task allarch |
10 | 10 | ||
11 | PACKAGES += "${PN}-debug" | 11 | PACKAGES += "${PN}-debug" |
12 | 12 | ||
13 | def get_ltrace(bb, d): | ||
14 | if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'sh4', 'sh3' ] : | ||
15 | return "" | ||
16 | return "ltrace" | ||
17 | |||
18 | RDEPENDS_${PN} = "\ | 13 | RDEPENDS_${PN} = "\ |
19 | dbus-daemon-proxy \ | 14 | dbus-daemon-proxy \ |
20 | dosfstools \ | 15 | dosfstools \ |
@@ -39,7 +34,6 @@ RDEPENDS_${PN}-debug = "\ | |||
39 | devmem2 \ | 34 | devmem2 \ |
40 | i2c-tools \ | 35 | i2c-tools \ |
41 | gdb \ | 36 | gdb \ |
42 | ${@get_ltrace(bb, d)} \ | ||
43 | mkdump \ | 37 | mkdump \ |
44 | mioctl \ | 38 | mioctl \ |
45 | procps \ | 39 | procps \ |
@@ -50,3 +44,7 @@ RDEPENDS_${PN}-debug = "\ | |||
50 | strace \ | 44 | strace \ |
51 | tcpdump \ | 45 | tcpdump \ |
52 | " | 46 | " |
47 | |||
48 | RRECOMMENDS_${PN}-debug = "\ | ||
49 | ltrace \ | ||
50 | " | ||