diff options
Diffstat (limited to 'Makefile.target')
-rw-r--r-- | Makefile.target | 8 |
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) |