diff options
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/Makefile.target b/Makefile.target index 9fe3e83..e9c0304 100644 --- a/Makefile.target +++ b/Makefile.target @@ -16,8 +16,12 @@ DYNGEN=../dyngen$(EXESUF) QEMU_USER=qemu-$(TARGET_ARCH) # system emulator name ifdef CONFIG_SOFTMMU +ifeq ($(TARGET_ARCH), i386) QEMU_SYSTEM=qemu$(EXESUF) else +QEMU_SYSTEM=qemu-system-$(TARGET_ARCH)$(EXESUF) +endif +else QEMU_SYSTEM=qemu-fast endif @@ -222,14 +226,23 @@ ifeq ($(ARCH),alpha) endif # must use static linking to avoid leaving stuff in virtual address space -VL_OBJS=vl.o osdep.o block.o monitor.o \ - ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o \ - fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o -ifdef CONFIG_GDBSTUB -VL_OBJS+=gdbstub.o +VL_OBJS=vl.o osdep.o block.o monitor.o + +ifeq ($(TARGET_ARCH), i386) +# Hardware support +VL_OBJS+= ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o +VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pc.o endif ifeq ($(TARGET_ARCH), ppc) -VL_OBJS+= hw.o +# Generic PPC support +VL_OBJS+= ppc.o +# PREP hardware support +VL_OBJS+= ide.o ne2000.o pckbd.o vga.o sb16.o dma.o oss.o +VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o ppc_prep.o +#VL_OBJS+= hw.o of.o setup.o +endif +ifdef CONFIG_GDBSTUB +VL_OBJS+=gdbstub.o endif ifdef CONFIG_SDL VL_OBJS+=sdl.o |