aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-02 22:52:36 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2006-05-02 22:52:36 +0000
commitc91fde65f410bca632113e98c700759950de2e93 (patch)
treeb595a27eb58ecf2e046548b6742b0a8b1d1e45f9 /Makefile.target
parentf5d2a381d1fb5f7def1c86c95d0c093e54e3aa67 (diff)
correct qemu-system-mipsel naming
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1893 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target19
1 files changed, 7 insertions, 12 deletions
diff --git a/Makefile.target b/Makefile.target
index 77eaa1e767..aff19c5c81 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -24,29 +24,24 @@ LIBS=
HELPER_CFLAGS=$(CFLAGS)
DYNGEN=../dyngen$(EXESUF)
# user emulator name
+TARGET_ARCH2=$(TARGET_ARCH)
ifeq ($(TARGET_ARCH),arm)
ifeq ($(TARGET_WORDS_BIGENDIAN),yes)
- QEMU_USER=qemu-armeb
- else
- QEMU_USER=qemu-arm
+ TARGET_ARCH2=armeb
endif
-else
+endif
ifeq ($(TARGET_ARCH),mips)
- ifeq ($(TARGET_WORDS_BIGENDIAN),yes)
- QEMU_USER=qemu-mips
- else
- QEMU_USER=qemu-mipsel
+ ifneq ($(TARGET_WORDS_BIGENDIAN),yes)
+ TARGET_ARCH2=mipsel
endif
-else
- QEMU_USER=qemu-$(TARGET_ARCH)
-endif
endif
+QEMU_USER=qemu-$(TARGET_ARCH2)
# system emulator name
ifdef CONFIG_SOFTMMU
ifeq ($(TARGET_ARCH), i386)
QEMU_SYSTEM=qemu$(EXESUF)
else
-QEMU_SYSTEM=qemu-system-$(TARGET_ARCH)$(EXESUF)
+QEMU_SYSTEM=qemu-system-$(TARGET_ARCH2)$(EXESUF)
endif
else
QEMU_SYSTEM=qemu-fast