X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/de167e416fa3d6e4bbdcac90973954c6bfae3070..fa296b0fb4ceb0a2535bce201a76f1c00ca21468:/Makefile.target diff --git a/Makefile.target b/Makefile.target index 434af9b367..59ce7eb49a 100644 --- a/Makefile.target +++ b/Makefile.target @@ -72,6 +72,10 @@ ifeq ($(ARCH), ppc) PROGS+=$(QEMU_SYSTEM) endif +endif # TARGET_ARCH = ppc + +ifeq ($(TARGET_ARCH), mips) + ifeq ($(ARCH), i386) ifdef CONFIG_SOFTMMU PROGS+=$(QEMU_SYSTEM) @@ -84,7 +88,7 @@ PROGS+=$(QEMU_SYSTEM) endif endif # ARCH = x86_64 -endif # TARGET_ARCH = ppc +endif # TARGET_ARCH = mips ifeq ($(TARGET_ARCH), sparc) @@ -263,6 +267,10 @@ ifeq ($(TARGET_ARCH), ppc) LIBOBJS+= op_helper.o helper.o endif +ifeq ($(TARGET_ARCH), mips) +LIBOBJS+= op_helper.o helper.o +endif + ifeq ($(TARGET_BASE_ARCH), sparc) LIBOBJS+= op_helper.o helper.o endif @@ -288,6 +296,9 @@ endif ifeq ($(findstring ppc, $(TARGET_ARCH) $(ARCH)),ppc) LIBOBJS+=ppc-dis.o endif +ifeq ($(findstring mips, $(TARGET_ARCH) $(ARCH)),mips) +LIBOBJS+=mips-dis.o +endif ifeq ($(findstring sparc, $(TARGET_BASE_ARCH) $(ARCH)),sparc) LIBOBJS+=sparc-dis.o endif @@ -346,10 +357,18 @@ endif ifeq ($(TARGET_ARCH), ppc) VL_OBJS+= ppc.o ide.o ne2000.o pckbd.o vga.o $(SOUND_HW) dma.o $(AUDIODRV) VL_OBJS+= mc146818rtc.o serial.o i8259.o i8254.o fdc.o m48t59.o -VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o mixeng.o +VL_OBJS+= ppc_prep.o ppc_chrp.o cuda.o adb.o openpic.o heathrow_pic.o mixeng.o +endif +ifeq ($(TARGET_ARCH), mips) +VL_OBJS+= mips_r4k.o dma.o vga.o serial.o ne2000.o i8259.o +#VL_OBJS+= #ide.o pckbd.o i8254.o fdc.o m48t59.o endif ifeq ($(TARGET_BASE_ARCH), sparc) -VL_OBJS+= sun4m.o tcx.o lance.o iommu.o m48t08.o magic-load.o slavio_intctl.o slavio_timer.o slavio_serial.o fdc.o esp.o +ifeq ($(TARGET_ARCH), sparc64) +VL_OBJS+= sun4u.o m48t08.o magic-load.o slavio_serial.o +else +VL_OBJS+= sun4m.o tcx.o lance.o iommu.o m48t08.o magic-load.o slavio_intctl.o slavio_timer.o slavio_serial.o slavio_misc.o fdc.o esp.o +endif endif ifdef CONFIG_GDBSTUB VL_OBJS+=gdbstub.o @@ -442,12 +461,19 @@ op.o: op.c op_template.h endif ifeq ($(TARGET_BASE_ARCH), sparc) -op.o: op.c op_template.h op_mem.h +op.o: op.c op_template.h op_mem.h fop_template.h fbranch_template.h +magic_load.o: elf_op.h endif ifeq ($(TARGET_ARCH), ppc) op.o: op.c op_template.h op_mem.h op_helper.o: op_helper_mem.h +translate.o: translate.c translate_init.c +endif + +ifeq ($(TARGET_ARCH), mips) +op.o: op.c op_template.c op_mem.c +op_helper.o: op_helper_mem.c endif mixeng.o: mixeng.c mixeng.h mixeng_template.h