OSDN Git Service

m68k compile fix
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 13 Mar 2004 18:32:13 +0000 (18:32 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sat, 13 Mar 2004 18:32:13 +0000 (18:32 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@655 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile.target
configure

index 08d8dfc..862961e 100644 (file)
@@ -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)
 
index 0caae42..be8c8bc 100755 (executable)
--- 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