summaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-10 21:48:51 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-02-10 21:48:51 +0000
commite3086fbf8f3e8242f7b5040a7a080e051bb9c2b3 (patch)
treead7d398788ce4319b5763f5f0f27ddaa78de26cb /Makefile.target
parent7c3fc84d86764fddd8dbc5408409eb5b2b4dc96e (diff)
downloadqemu-e3086fbf8f3e8242f7b5040a7a080e051bb9c2b3.tar.gz
kqemu support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1277 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target
index 0efc9d1c91..5ed2b92546 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -237,8 +237,8 @@ SRCS:= $(OBJS:.o=.c)
OBJS+= libqemu.a
# cpu emulator library
-LIBOBJS=exec.o translate-all.o cpu-exec.o\
- translate.o op.o
+LIBOBJS=exec.o kqemu.o translate-all.o cpu-exec.o\
+ translate.o op.o
ifeq ($(TARGET_ARCH), i386)
LIBOBJS+=helper.o helper2.o
@@ -363,6 +363,10 @@ ifndef CONFIG_WIN32
VL_LIBS=-lutil
endif
endif
+ifdef TARGET_GPROF
+vl.o: CFLAGS+=-p
+VL_LDFLAGS+=-p
+endif
$(QEMU_SYSTEM): $(VL_OBJS) libqemu.a
$(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(VL_LIBS)