summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2007-11-15 21:37:14 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2007-11-29 10:22:46 +0100
commitebe11c4f223504d1b2070fcbe75d1fca342ab2fe (patch)
treed5e2d1c3dcf0699b90a0d0e125760103747ce060
parentfb56fffbcbea96135fe3aa889b338aa7dd1c4dcb (diff)
downloadbarebox-ebe11c4f223504d1b2070fcbe75d1fca342ab2fe.tar.gz
barebox-ebe11c4f223504d1b2070fcbe75d1fca342ab2fe.tar.xz
[sandbox] add ELF_{ARCH,FORMAT} for powerpc
This patch adds the needed ELF_{ARCH,FORMAT} for the sandbox on powerpc Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-rw-r--r--arch/sandbox/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index c059d3af8e..9794c1141a 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -42,6 +42,10 @@ ifeq ($(SUBARCH),i386)
ELF_ARCH := $(SUBARCH)
ELF_FORMAT := elf32-$(SUBARCH)
endif
+ifeq ($(SUBARCH),powerpc)
+ELF_ARCH := powerpc
+ELF_FORMAT := elf32-powerpc
+endif
export ELF_FORMAT ELF_ARCH SUBARCH
# Update machine arch and proc symlinks if something which affects