From: Muli Ben-Yehuda <muli-7z/5BgaJwgfQT0dZR+AlfA@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel <kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>
Subject: [PATCH] qemu binary should depend on libkvm.a
Date: Tue, 6 Feb 2007 21:31:09 +0200 [thread overview]
Message-ID: <20070206193109.GD4292@rhun.ibm.com> (raw)
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
next reply other threads:[~2007-02-06 19:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-06 19:31 Muli Ben-Yehuda [this message]
[not found] ` <20070206193109.GD4292-k73YwwB0fHlWk0Htik3J/w@public.gmane.org>
2007-02-07 9:04 ` [PATCH] qemu binary should depend on libkvm.a Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070206193109.GD4292@rhun.ibm.com \
--to=muli-7z/5bgajwgfqt0dzr+alfa@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox