* [PATCH] qemu binary should depend on libkvm.a
@ 2007-02-06 19:31 Muli Ben-Yehuda
[not found] ` <20070206193109.GD4292-k73YwwB0fHlWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Muli Ben-Yehuda @ 2007-02-06 19:31 UTC (permalink / raw)
To: Avi Kivity; +Cc: kvm-devel
Without this patch making a change to libkvm.a will not cause the qemu
binary to be re-linked. Tested on x86-64.
Signed-off-by: Muli Ben-Yehuda <muli-7z/5BgaJwgfQT0dZR+AlfA@public.gmane.org>
diff -r 9a3e101daf18 -r 990ff7d37333 qemu/Makefile.target
--- a/qemu/Makefile.target Tue Feb 06 17:05:56 2007 +0200
+++ b/qemu/Makefile.target Tue Feb 06 21:26:46 2007 +0200
@@ -25,6 +25,8 @@ CFLAGS+=-Wall -O2 -g -fno-strict-aliasin
#CFLAGS+=-Werror
LDFLAGS+=-g
LIBS=
+# libraries we depend on
+DEPLIBS=
HELPER_CFLAGS=$(CFLAGS)
DYNGEN=../dyngen$(EXESUF)
# user emulator name
@@ -331,6 +333,7 @@ ifdef CONFIG_KVM_KERNEL_INC
ifdef CONFIG_KVM_KERNEL_INC
DEFINES += -I $(CONFIG_KVM_KERNEL_INC)
LIBS += -lkvm
+DEPLIBS += ../user/libkvm.a
endif
# SCSI layer
@@ -437,7 +440,7 @@ SDL_LIBS := $(filter-out -mwindows, $(SD
SDL_LIBS := $(filter-out -mwindows, $(SDL_LIBS)) -mconsole
endif
-$(QEMU_SYSTEM): $(VL_OBJS) libqemu.a
+$(QEMU_SYSTEM): $(VL_OBJS) libqemu.a $(DEPLIBS)
$(CC) $(VL_LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS) $(COCOA_LIBS) $(VL_LIBS)
cocoa.o: cocoa.m
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-02-07 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-06 19:31 [PATCH] qemu binary should depend on libkvm.a Muli Ben-Yehuda
[not found] ` <20070206193109.GD4292-k73YwwB0fHlWk0Htik3J/w@public.gmane.org>
2007-02-07 9:04 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox