aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-21 18:03:09 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-03-21 18:03:09 +0000
commitcf2be98437dc65eb1608b3dc0ec3aeefd88661ed (patch)
tree009c4523c31745388e32411a746fbc9f15a205b0 /Makefile.target
parent06b3e1b3a9d2e252b1921cefe60af4513a21fe4a (diff)
Prepare for op.c removal and zero legacy ops
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4095 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.target b/Makefile.target
index 9c83733345..5ac29a7d82 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -173,7 +173,10 @@ all: $(PROGS)
#########################################################
# cpu emulator library
LIBOBJS=exec.o kqemu.o translate-all.o cpu-exec.o\
- translate.o op.o host-utils.o
+ translate.o host-utils.o
+ifndef CONFIG_NO_DYNGEN_OP
+LIBOBJS+=op.o
+endif
# TCG code generator
LIBOBJS+= tcg/tcg.o tcg/tcg-dyngen.o tcg/tcg-runtime.o
CPPFLAGS+=-I$(SRC_PATH)/tcg -I$(SRC_PATH)/tcg/$(ARCH)
@@ -270,7 +273,9 @@ endif
# libqemu
+ifndef CONFIG_NO_DYNGEN_OP
OPC_H = gen-op.h dyngen-opc.h op.h
+endif
libqemu.a: $(LIBOBJS)
rm -f $@