From 090b407fe16d2fb996c3d010c142d95fd38e155b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Fri, 2 Oct 2009 10:33:29 +0200 Subject: [PATCH] ltrace: fix build for powerpc ltrace wants ARCH=ppc when building for powerpc. Signed-off-by: Peter Korsgaard --- package/ltrace/ltrace.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package/ltrace/ltrace.mk b/package/ltrace/ltrace.mk index c5b80969e9..424c39d872 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 -- 2.30.2