* [Qemu-devel] [PATCH] Fix multiple qemu-options.def generation
@ 2011-01-14 8:04 Pavel Dovgaluk
0 siblings, 0 replies; 3+ messages in thread
From: Pavel Dovgaluk @ 2011-01-14 8:04 UTC (permalink / raw)
To: qemu-devel
[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]
This patch fixes generation of multiple instances of qemu-options.def by
make script (at least for building in Windows).
Previous version had the following problem: you can built qemu, break the
contents of qemu-options.hx and build qemu successfully again.
Broken qemu-options.hx will not affect the build for the first time.
This works in both directions: after build was broken, you can fix
qemu-options.hx, but qemu will not build successfully, until you delete
qemu-options.def files.
Signed-off-by: Pavel Dovgaluk <pavel.dovgaluk@gmail.com>
---
Makefile.objs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.objs b/Makefile.objs
index 4a1eaa1..ee9f190 100755
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -269,10 +269,10 @@ vl.o: QEMU_CFLAGS+=$(GPROF_CFLAGS)
vl.o: QEMU_CFLAGS+=$(SDL_CFLAGS)
-vl.o: qemu-options.def
+vl.o: ../qemu-options.def
os-posix.o: qemu-options.def
os-win32.o: qemu-options.def
-qemu-options.def: $(SRC_PATH)/qemu-options.hx
+%qemu-options.def: $(SRC_PATH)/qemu-options.hx
$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@,"
GEN $(TARGET_DIR)$@")
--
1.7.3.3
[-- Attachment #2: Type: text/html, Size: 4452 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-01-14 11:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <-3044780617683472853@unknownmsgid>
2011-01-14 9:34 ` [Qemu-devel] [PATCH] Fix multiple qemu-options.def generation Stefan Hajnoczi
2011-01-14 11:24 ` Pavel Dovgaluk
2011-01-14 8:04 Pavel Dovgaluk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).