--- recipes/ltrace/ltrace_0.5.3.bb | 3 +++ recipes/tasks/task-cli-tools.bb | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/recipes/ltrace/ltrace_0.5.3.bb b/recipes/ltrace/ltrace_0.5.3.bb index c856788..6c13c08 100644 --- a/recipes/ltrace/ltrace_0.5.3.bb +++ b/recipes/ltrace/ltrace_0.5.3.bb @@ -6,6 +6,9 @@ LICENSE = "GPLv2" PR = "r2" +# ltrace is not ported to sh3/sh4 targets at this time +COMPATIBLE_TARGET_SYS = (?!sh[34]) + SRC_URI = "\ ${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}.orig.tar.gz;name=archive \ ${DEBIAN_MIRROR}/main/l/ltrace/ltrace_${PV}-2.diff.gz;name=patch \ diff --git a/recipes/tasks/task-cli-tools.bb b/recipes/tasks/task-cli-tools.bb index 0d2aa00..7d71e9a 100644 --- a/recipes/tasks/task-cli-tools.bb +++ b/recipes/tasks/task-cli-tools.bb @@ -9,6 +9,11 @@ inherit task 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 \ @@ -33,7 +38,7 @@ RDEPENDS_${PN}-debug = "\ devmem2 \ i2c-tools \ gdb \ - ltrace \ + $...@get_ltrace(bb, d)} \ mkdump \ mioctl \ procps \ -- 1.7.2.3 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel