From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAKUk-0005Up-I3 for qemu-devel@nongnu.org; Tue, 07 Jun 2016 13:08:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAKUd-0007A4-JM for qemu-devel@nongnu.org; Tue, 07 Jun 2016 13:08:49 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:33570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAKUd-00079m-Bi for qemu-devel@nongnu.org; Tue, 07 Jun 2016 13:08:43 -0400 Received: by mail-wm0-x243.google.com with SMTP id r5so7599542wmr.0 for ; Tue, 07 Jun 2016 10:08:43 -0700 (PDT) Received: from 640k.lan (94-39-188-118.adsl-ull.clienti.tiscali.it. [94.39.188.118]) by smtp.gmail.com with ESMTPSA id o76sm20511305wme.0.2016.06.07.10.08.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 07 Jun 2016 10:08:41 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 7 Jun 2016 19:08:35 +0200 Message-Id: <1465319317-50519-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <1465319317-50519-1-git-send-email-pbonzini@redhat.com> References: <1465319317-50519-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 08/13] Makefile: add dependency on scripts/create_config List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Make sure that config-host.h and config-target.h are rebuilt whenever there is a change in the scripts that generates them; add the dependency to the pattern rule as suggested by Peter. Reviewed-by: Peter Maydell Signed-off-by: Paolo Bonzini --- rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mak b/rules.mak index 4a8f464..fae16b3 100644 --- a/rules.mak +++ b/rules.mak @@ -172,7 +172,7 @@ TRACETOOL=$(PYTHON) $(SRC_PATH)/scripts/tracetool.py config-%.h: config-%.h-timestamp @cmp $< $@ >/dev/null 2>&1 || cp $< $@ -config-%.h-timestamp: config-%.mak +config-%.h-timestamp: config-%.mak $(SRC_PATH)/scripts/create_config $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < $< > $@, " GEN $(TARGET_DIR)config-$*.h") .PHONY: clean-timestamp -- 1.8.3.1