]> git.proxmox.com Git - mirror_qemu.git/commitdiff
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 08d8dfc1854cf7298923901544b705f9e61f945a..862961ed4cb5c24d4df8227233ed8f3deaae2458 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 0caae4277e6beafc4d8603668e7dea3e81f6713a..be8c8bcbc695307d79bf95086baa0629bf7f5dbb 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