ltrace: fix build for powerpc

ltrace wants ARCH=ppc when building for powerpc.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2009-10-02 10:33:29 +02:00
parent a7c5ee544e
commit 090b407fe1

View File

@ -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