Patchwork make: qemu-img depends on config-host.h

login
register
mail settings
Submitter Anthony Liguori
Date Jan. 20, 2010, 4:12 p.m.
Message ID <1264003926-32676-1-git-send-email-aliguori@us.ibm.com>
Download mbox | patch
Permalink /patch/43307/
State New
Headers show

Comments

Anthony Liguori - Jan. 20, 2010, 4:12 p.m.
Fixes mingw32 build out of tree.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Andreas Färber - Jan. 20, 2010, 5:33 p.m.
Am 20.01.2010 um 17:12 schrieb Anthony Liguori:

> Fixes mingw32 build out of tree.
>
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
> ---
> Makefile |    2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index b1bbe6d..60d5c66 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -126,7 +126,7 @@ bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS)
>
> ######################################################################
>
> -qemu-img.o: qemu-img-cmds.h
> +qemu-img.o: qemu-img-cmds.h config-host.h

Maybe use $(GENERATED_HEADERS) instead?

Okay otherwise.

Andreas

Patch

diff --git a/Makefile b/Makefile
index b1bbe6d..60d5c66 100644
--- a/Makefile
+++ b/Makefile
@@ -126,7 +126,7 @@  bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS)
 
 ######################################################################
 
-qemu-img.o: qemu-img-cmds.h
+qemu-img.o: qemu-img-cmds.h config-host.h
 
 obj-y = qemu-img.o qemu-tool.o $(block-obj-y) $(qobject-obj-y)