summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-02 08:33:29 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2009-10-02 08:33:29 (GMT)
commit090b407fe16d2fb996c3d010c142d95fd38e155b (patch)
treed9f01bf2702ceb9c8314b78e6497a28efbfe1a3e
parenta7c5ee544ef61b456676ac58b7eeda56deedc470 (diff)
downloadbuildroot-090b407fe16d2fb996c3d010c142d95fd38e155b.tar.gz
buildroot-090b407fe16d2fb996c3d010c142d95fd38e155b.tar.bz2
ltrace: fix build for powerpc
ltrace wants ARCH=ppc when building for powerpc. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/ltrace/ltrace.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk
index c5b8096..424c39d 100644
--- a/package/ltrace/ltrace.mk
+++ b/package/ltrace/ltrace.mk
@@ -11,7 +11,8 @@ LTRACE_DIR=$(BUILD_DIR)/ltrace-$(LTRACE_VERSION)
LTRACE_BINARY=ltrace
LTRACE_TARGET_BINARY=usr/bin/ltrace
-LTRACE_ARCH:=$(KERNEL_ARCH)
+# ltrace uses arch=ppc for powerpc
+LTRACE_ARCH:=$(KERNEL_ARCH:powerpc=ppc)
ifeq ("$(strip $(ARCH))","armeb")
LTRACE_ARCH:=arm
endif