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