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>
This commit is contained in:
Uri Lublin 2009-10-29 14:40:01 -04:00 committed by Anthony Liguori
parent 184bd04845
commit fafce63d99

View File

@ -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) qemu-img$(EXESUF): qemu-img.o qemu-tool.o $(block-obj-y)