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)
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