* [Qemu-devel] [PATCH] Fix generation of config-host.h
@ 2010-01-20 19:54 Juan Quintela
2010-01-26 22:03 ` Anthony Liguori
0 siblings, 1 reply; 2+ messages in thread
From: Juan Quintela @ 2010-01-20 19:54 UTC (permalink / raw)
To: qemu-devel; +Cc: Andreas Färber
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1413 bytes --]
This patch improves Anthony patch a6a853c86275efd89996ce59612a000c5873db5d
Once there, it improves handling of object files for qemu tools
cc: Andreas Färber <andreas.faerber@web.de>
Signed-off-by: Juan Quintela <quintela@redhat.com>
---
Makefile | 17 +++++------------
1 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/Makefile b/Makefile
index 60d5c66..3848627 100644
--- a/Makefile
+++ b/Makefile
@@ -126,21 +126,14 @@ bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS)
######################################################################
-qemu-img.o: qemu-img-cmds.h config-host.h
+qemu-img.o: qemu-img-cmds.h
+qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o: $(GENERATED_HEADERS)
-obj-y = qemu-img.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
+qemu-img$(EXESUF): qemu-img.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
-qemu-img$(EXESUF): $(obj-y)
+qemu-nbd$(EXESUF): qemu-nbd.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
-obj-y = qemu-nbd.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
-$(obj-y): $(GENERATED_HEADERS)
-
-qemu-nbd$(EXESUF): $(obj-y)
-
-obj-y = qemu-io.o qemu-tool.o cmd.o $(block-obj-y) $(qobject-obj-y)
-$(obj-y): $(GENERATED_HEADERS)
-
-qemu-io$(EXESUF): $(obj-y)
+qemu-io$(EXESUF): qemu-io.o qemu-tool.o cmd.o $(block-obj-y) $(qobject-obj-y)
qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
$(call quiet-command,sh $(SRC_PATH)/hxtool -h < $< > $@," GEN $@")
--
1.6.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [PATCH] Fix generation of config-host.h
2010-01-20 19:54 [Qemu-devel] [PATCH] Fix generation of config-host.h Juan Quintela
@ 2010-01-26 22:03 ` Anthony Liguori
0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2010-01-26 22:03 UTC (permalink / raw)
To: Juan Quintela; +Cc: Andreas Färber, qemu-devel
On 01/20/2010 01:54 PM, Juan Quintela wrote:
> This patch improves Anthony patch a6a853c86275efd89996ce59612a000c5873db5d
>
> Once there, it improves handling of object files for qemu tools
>
> cc: Andreas Färber<andreas.faerber@web.de>
> Signed-off-by: Juan Quintela<quintela@redhat.com>
>
Applied. Thanks.
Regards,
Anthony Liguori
> ---
> Makefile | 17 +++++------------
> 1 files changed, 5 insertions(+), 12 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 60d5c66..3848627 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -126,21 +126,14 @@ bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS)
>
> ######################################################################
>
> -qemu-img.o: qemu-img-cmds.h config-host.h
> +qemu-img.o: qemu-img-cmds.h
> +qemu-img.o qemu-tool.o qemu-nbd.o qemu-io.o: $(GENERATED_HEADERS)
>
> -obj-y = qemu-img.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
> +qemu-img$(EXESUF): qemu-img.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
>
> -qemu-img$(EXESUF): $(obj-y)
> +qemu-nbd$(EXESUF): qemu-nbd.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
>
> -obj-y = qemu-nbd.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)
> -$(obj-y): $(GENERATED_HEADERS)
> -
> -qemu-nbd$(EXESUF): $(obj-y)
> -
> -obj-y = qemu-io.o qemu-tool.o cmd.o $(block-obj-y) $(qobject-obj-y)
> -$(obj-y): $(GENERATED_HEADERS)
> -
> -qemu-io$(EXESUF): $(obj-y)
> +qemu-io$(EXESUF): qemu-io.o qemu-tool.o cmd.o $(block-obj-y) $(qobject-obj-y)
>
> qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
> $(call quiet-command,sh $(SRC_PATH)/hxtool -h< $< > $@," GEN $@")
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-26 22:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-20 19:54 [Qemu-devel] [PATCH] Fix generation of config-host.h Juan Quintela
2010-01-26 22:03 ` Anthony Liguori
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).