From patchwork Thu Oct 29 18:40:01 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Lublin X-Patchwork-Id: 37213 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 738FFB7BCB for ; Fri, 30 Oct 2009 04:19:03 +1100 (EST) Received: from localhost ([127.0.0.1]:41354 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3YeK-0004sx-4u for incoming@patchwork.ozlabs.org; Thu, 29 Oct 2009 13:19:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3Ydr-0004sI-5Y for qemu-devel@nongnu.org; Thu, 29 Oct 2009 13:18:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3Ydm-0004qL-LK for qemu-devel@nongnu.org; Thu, 29 Oct 2009 13:18:30 -0400 Received: from [199.232.76.173] (port=42899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3Ydm-0004qB-FQ for qemu-devel@nongnu.org; Thu, 29 Oct 2009 13:18:26 -0400 Received: from mx1.redhat.com ([209.132.183.28]:14696) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N3Ydl-00023T-E8 for qemu-devel@nongnu.org; Thu, 29 Oct 2009 13:18:26 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9THINSL023730 for ; Thu, 29 Oct 2009 13:18:23 -0400 Received: from localhost.localdomain ([10.35.18.100]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9THIKvH021774 for ; Thu, 29 Oct 2009 13:18:22 -0400 From: Uri Lublin To: qemu-devel@nongnu.org Date: Thu, 29 Oct 2009 14:40:01 -0400 Message-Id: <1256841601-4964-1-git-send-email-uril@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH] Makefile: make qemu-img dependant on config-host.h X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@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)