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>
This commit is contained in:
Martin Jansa 2012-02-24 16:05:07 +01:00 committed by Koen Kooi
parent 813e31e587
commit d3c5c64deb

View File

@ -4,17 +4,12 @@ SECTION = "console"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PV = "1.0"
PR = "r18"
PR = "r19"
inherit task
inherit task allarch
PACKAGES += "${PN}-debug"
def get_ltrace(bb, d):
if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'sh4', 'sh3' ] :
return ""
return "ltrace"
RDEPENDS_${PN} = "\
dbus-daemon-proxy \
dosfstools \
@ -39,7 +34,6 @@ RDEPENDS_${PN}-debug = "\
devmem2 \
i2c-tools \
gdb \
${@get_ltrace(bb, d)} \
mkdump \
mioctl \
procps \
@ -50,3 +44,7 @@ RDEPENDS_${PN}-debug = "\
strace \
tcpdump \
"
RRECOMMENDS_${PN}-debug = "\
ltrace \
"