qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [ADD] PPC processor emulation


From: J. Mayer
Subject: Re: [Qemu-devel] [ADD] PPC processor emulation
Date: 18 Nov 2003 08:43:59 +0100

Makefile.target.diff

Add PPC target.

diff -urNbB -x CVS qemu-current/Makefile.target qemu/Makefile.target
--- qemu-current/Makefile.target        Tue Nov 18 06:51:06 2003
+++ qemu/Makefile.target        Tue Nov 18 06:03:59 2003
@@ -146,6 +161,10 @@
 LIBOBJS+=helper.o helper2.o
 endif
 
+ifeq ($(TARGET_ARCH), ppc)
+LIBOBJS+=helper.o
+endif
+
 # NOTE: the disassembler code is only needed for debugging
 LIBOBJS+=disas.o 
 ifeq ($(findstring i386, $(TARGET_ARCH) $(ARCH)),i386)
@@ -242,11 +261,18 @@
 op.o: op.c op_template.h
 endif
 
+ifeq ($(TARGET_ARCH), ppc)
+op.o: op.c op-multi.c
+endif
+
+select.h op-multi.c: op.tpl ../gen_multi
+       ../gen_multi -o op-multi.c -s select.h $<
+
 %.o: %.c
        $(CC) $(CFLAGS) $(DEFINES) -c -o $@ $<
 
 clean:
-       rm -f *.o  *.a *~ $(PROGS) gen-op.h opc.h op.h
+       rm -f *.o  *.a *~ $(PROGS) gen-op.h opc.h op.h select.h op-multi.c
 
 install: all 
        install -m 755 -s $(PROGS) $(prefix)/bin






reply via email to

[Prev in Thread] Current Thread [Next in Thread]