From patchwork Thu Jan 14 17:11:43 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 42919 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 D496E1007D2 for ; Fri, 15 Jan 2010 04:41:28 +1100 (EST) Received: from localhost ([127.0.0.1]:57959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVThE-0001R4-OV for incoming@patchwork.ozlabs.org; Thu, 14 Jan 2010 12:41:24 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVTFU-00087M-4C for qemu-devel@nongnu.org; Thu, 14 Jan 2010 12:12:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVTFP-00084x-C2 for qemu-devel@nongnu.org; Thu, 14 Jan 2010 12:12:43 -0500 Received: from [199.232.76.173] (port=36504 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVTFP-00084q-6z for qemu-devel@nongnu.org; Thu, 14 Jan 2010 12:12:39 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:57573) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVTFO-0000vC-FK for qemu-devel@nongnu.org; Thu, 14 Jan 2010 12:12:38 -0500 Received: from flocke.weilnetz.de (p54ADD7EF.dip.t-dialin.net [84.173.215.239]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0MHrNV-1NRuT148Kr-003mgO; Thu, 14 Jan 2010 18:11:47 +0100 Received: from stefan by flocke.weilnetz.de with local (Exim 4.71) (envelope-from ) id 1NVTEY-0002CM-1z; Thu, 14 Jan 2010 18:11:46 +0100 From: Stefan Weil To: QEMU Developers , afaerber@opensolaris.org Date: Thu, 14 Jan 2010 18:11:43 +0100 Message-Id: <1263489103-8419-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.6.5 In-Reply-To: <20100114145026.GA7789@volta.aurel32.net> References: <20100114145026.GA7789@volta.aurel32.net> X-Provags-ID: V01U2FsdGVkX1+QWjIOnRgz+BmGHanKN8wfcfhVA2r3KoaJHR3 jUZ7n/pqPhGG62Y5Bo9bzLFM2xnXmM1tIWzS6YtJB6rttmd7Do iZNYEcojFCQjASuq5Snqzrh2/E3Z1EM9imjDFLfVi2eqUAwXeq kUw== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Aurelien Jarno Subject: [Qemu-devel] [PATCH] Makefile: Fix message for missing configure 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 When make is called without a valid configuration, it should tell the user what to do. Revision 0e8c9214ba1d4128cf92442cd343bc3733478261 was a regression which resulted in a message which was no longer user friendly (reported by Aurelien Jarno). This patch restores the old behaviour. Cc: Aurelien Jarno Signed-off-by: Stefan Weil Reviewed-by: Andreas Färber --- Makefile | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile b/Makefile index fa7f851..b1bbe6d 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,9 @@ SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) subdir-%: $(GENERATED_HEADERS) $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C $* V="$(V)" TARGET_DIR="$*/" all,) +ifneq ($(wildcard config-host.mak),) include $(SRC_PATH)/Makefile.objs +endif $(common-obj-y): $(GENERATED_HEADERS) $(filter %-softmmu,$(SUBDIR_RULES)): $(common-obj-y)