summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.target9
-rwxr-xr-xconfigure4
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)
diff --git a/configure b/configure
index 0caae4277e..be8c8bcbc6 100755
--- a/configure
+++ b/configure
@@ -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