summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-02-24 16:05:07 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2012-02-24 23:42:16 +0100
commitd3c5c64debb2f7dd0d6211463f38b7d58925a58b (patch)
tree43b20ed9420da7b0e5d6720cd872c27328538448
parent813e31e587d56389fb0d175b343ed15d1a6904cb (diff)
downloadmeta-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>
-rw-r--r--meta-oe/recipes-core/tasks/task-cli-tools.bb14
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"
4LICENSE = "MIT" 4LICENSE = "MIT"
5LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" 5LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
6PV = "1.0" 6PV = "1.0"
7PR = "r18" 7PR = "r19"
8 8
9inherit task 9inherit task allarch
10 10
11PACKAGES += "${PN}-debug" 11PACKAGES += "${PN}-debug"
12 12
13def get_ltrace(bb, d):
14 if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'sh4', 'sh3' ] :
15 return ""
16 return "ltrace"
17
18RDEPENDS_${PN} = "\ 13RDEPENDS_${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
48RRECOMMENDS_${PN}-debug = "\
49 ltrace \
50"