aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2009-10-29 14:40:01 -0400
committerAnthony Liguori <aliguori@us.ibm.com>2009-11-09 08:43:03 -0600
commitfafce63d992d34468eca1aea7ae63b12a5209ae4 (patch)
tree4a0d714c19f485d8de6f2f1d4544d661e738cad3 /Makefile
parent184bd0484533b725194fa517ddc271ffd74da7c9 (diff)
Makefile: make qemu-img dependant on config-host.h
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 <uril@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c783aa4c59..4af3f9c6a6 100644
--- a/Makefile
+++ b/Makefile
@@ -209,7 +209,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)