Commit c91fde65f410bca632113e98c700759950de2e93
1 parent
f5d2a381
correct qemu-system-mipsel naming
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1893 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
7 additions
and
12 deletions
Makefile.target
... | ... | @@ -24,29 +24,24 @@ LIBS= |
24 | 24 | HELPER_CFLAGS=$(CFLAGS) |
25 | 25 | DYNGEN=../dyngen$(EXESUF) |
26 | 26 | # user emulator name |
27 | +TARGET_ARCH2=$(TARGET_ARCH) | |
27 | 28 | ifeq ($(TARGET_ARCH),arm) |
28 | 29 | ifeq ($(TARGET_WORDS_BIGENDIAN),yes) |
29 | - QEMU_USER=qemu-armeb | |
30 | - else | |
31 | - QEMU_USER=qemu-arm | |
30 | + TARGET_ARCH2=armeb | |
32 | 31 | endif |
33 | -else | |
32 | +endif | |
34 | 33 | ifeq ($(TARGET_ARCH),mips) |
35 | - ifeq ($(TARGET_WORDS_BIGENDIAN),yes) | |
36 | - QEMU_USER=qemu-mips | |
37 | - else | |
38 | - QEMU_USER=qemu-mipsel | |
34 | + ifneq ($(TARGET_WORDS_BIGENDIAN),yes) | |
35 | + TARGET_ARCH2=mipsel | |
39 | 36 | endif |
40 | -else | |
41 | - QEMU_USER=qemu-$(TARGET_ARCH) | |
42 | -endif | |
43 | 37 | endif |
38 | +QEMU_USER=qemu-$(TARGET_ARCH2) | |
44 | 39 | # system emulator name |
45 | 40 | ifdef CONFIG_SOFTMMU |
46 | 41 | ifeq ($(TARGET_ARCH), i386) |
47 | 42 | QEMU_SYSTEM=qemu$(EXESUF) |
48 | 43 | else |
49 | -QEMU_SYSTEM=qemu-system-$(TARGET_ARCH)$(EXESUF) | |
44 | +QEMU_SYSTEM=qemu-system-$(TARGET_ARCH2)$(EXESUF) | |
50 | 45 | endif |
51 | 46 | else |
52 | 47 | QEMU_SYSTEM=qemu-fast | ... | ... |