qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] Makefile: make qemu-img dependant on config-host.h


From: Uri Lublin
Subject: [Qemu-devel] [PATCH] Makefile: make qemu-img dependant on config-host.h
Date: Thu, 29 Oct 2009 14:40:01 -0400

Since config-host.h is generated by the Makefile (1215c6e76),
building (only) qemu-img fails:

address@hidden qemu]$ make distclean (or git clone qemu)
address@hidden qemu]$ ./configure ...
address@hidden 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 <address@hidden>
---
 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)

-- 
1.6.5.1

Sent from my KVM Fedora-12-Beta VM.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]