diff options
-rw-r--r-- | Makefile.target | 9 | ||||
-rwxr-xr-x | configure | 4 |
2 files changed, 6 insertions, 7 deletions
diff --git a/Makefile.target b/Makefile.target index 08d8dfc185..862961ed4c 100644 --- a/Makefile.target +++ b/Makefile.target @@ -27,15 +27,14 @@ PROGS+=$(QEMU_SYSTEM) ifndef CONFIG_SOFTMMU CONFIG_STATIC=y endif -endif - -ifeq ($(ARCH), ppc) +else +# the system emulator using soft mmu is portable ifdef CONFIG_SOFTMMU PROGS+=$(QEMU_SYSTEM) endif -endif +endif # ARCH != i386 -endif +endif # TARGET_ARCH = i386 ifeq ($(TARGET_ARCH), ppc) @@ -278,8 +278,8 @@ elif test "$cpu" = "ia64" ; then echo "ARCH=ia64" >> $config_mak echo "#define HOST_IA64 1" >> $config_h elif test "$cpu" = "m68k" ; then - echo "ARCH=m68k" >> config.mak - echo "#define HOST_M68K 1" >> $TMPH + echo "ARCH=m68k" >> $config_mak + echo "#define HOST_M68K 1" >> $config_h else echo "Unsupported CPU" exit 1 |