From patchwork Thu Oct 29 18:40:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Makefile: make qemu-img dependant on config-host.h Date: Thu, 29 Oct 2009 08:40:01 -0000 From: Uri Lublin X-Patchwork-Id: 37213 Message-Id: <1256841601-4964-1-git-send-email-uril@redhat.com> To: qemu-devel@nongnu.org Since config-host.h is generated by the Makefile (1215c6e76), building (only) qemu-img fails: [user@f12-uri qemu]$ make distclean (or git clone qemu) [user@f12-uri qemu]$ ./configure ... [user@f12-uri qemu]$ make qemu-img GEN config-all-devices.mak GEN qemu-img-cmds.h CC qemu-img.o In file included from qemu-img.c:24: qemu-common.h:32:25: error: config-host.h: No such file or directory Signed-off-by: Uri Lublin --- Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index 4d9908c..6f1bf87 100644 --- a/Makefile +++ b/Makefile @@ -200,7 +200,7 @@ libqemu_common.a: $(obj-y) ###################################################################### -qemu-img.o: qemu-img-cmds.h +qemu-img.o: config-host.h qemu-img-cmds.h qemu-img$(EXESUF): qemu-img.o qemu-tool.o $(block-obj-y)