* [PATCH] ltrace: exclude from build for SH3/SH4 targets
@ 2010-11-17 0:55 Yuri Bushmelev
0 siblings, 0 replies; only message in thread
From: Yuri Bushmelev @ 2010-11-17 0:55 UTC (permalink / raw)
To: openembedded-devel
---
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-11-17 0:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 0:55 [PATCH] ltrace: exclude from build for SH3/SH4 targets Yuri Bushmelev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox