aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index edf76cffbe..933692977e 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -13,7 +13,15 @@ LIBS=
HELPER_CFLAGS=$(CFLAGS)
DYNGEN=../dyngen$(EXESUF)
# user emulator name
-QEMU_USER=qemu-$(TARGET_ARCH)
+ifeq ($(TARGET_ARCH),arm)
+ ifeq ($(TARGET_WORDS_BIGENDIAN),yes)
+ QEMU_USER=qemu-armeb
+ else
+ QEMU_USER=qemu-arm
+ endif
+else
+ QEMU_USER=qemu-$(TARGET_ARCH)
+endif
# system emulator name
ifdef CONFIG_SOFTMMU
ifeq ($(TARGET_ARCH), i386)