From patchwork Tue Jun 7 17:08:35 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 9162063 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id AC7A060572 for ; Tue, 7 Jun 2016 17:14:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97089282DC for ; Tue, 7 Jun 2016 17:14:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8BEA6282F9; Tue, 7 Jun 2016 17:14:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 1BDA1282DC for ; Tue, 7 Jun 2016 17:14:44 +0000 (UTC) Received: from localhost ([::1]:51760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAKaR-0002WL-Sy for patchwork-qemu-devel@patchwork.kernel.org; Tue, 07 Jun 2016 13:14:43 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=7YI1oGweNrxD+6PZzPvOnTCESUz3ywU2qPopyZiry2s=; b=fUdJuEM3BZEzOaLayYN81Ih7VKl3C0Q5PzgCEZMZt4UT40Ve8mmZPOMsb+Fc38EPxE ZkvY1wLqULMZlaqGtHD8zgRU7yxf3ovG874Ma8N+oiiBYVt2RIye+UPSJwc5gmVP5Gnm mNHviWW8Mv0hnqH/erLCLuz5lMmn+pXQnQFrb0dAJaHu22Xq9cyFnHDRZUxjOJ+71pGP gOH6Yqk5+yC3wEkOZ0+nuhQT4/paGx+uPdcUmA69zFaGSGoC6YB01OINVZK+2Mlockhl /WtxWSos/1ZWNkSYsBXREuLvEzSnzde+quF/ozOtXaa/+6vcnaqcmOltREI+4jLTq7/7 bb1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=7YI1oGweNrxD+6PZzPvOnTCESUz3ywU2qPopyZiry2s=; b=AxZFQJGHS4dG0sOb4msSixag76JxPqOoKpiTO+mVtr92meZXOfjQhwa3t9uMWTKRbC NreECHJSL7IxjNhUWxqw/W8O41jGgi48dck21LDblIdf0E7rjjzQV5yC757gU6+EvkV4 3ujxzW/0JtCGzIbwHz9TQMzzBeoUumDA4PQQ+aiG7uHKYMEIhdZQyAFRYuzyhKggvjNH yfyIaojt9t3FevXY8+QCT2JNjGitfPZOWuKzg1tNf+fCq9xXgVOrYKs3ws3TmixQxrNm lJg2ZmP06gALJxsGiS4xrpTh1T+WtzC9TAbkR9CulXtLTbSNIKsADgMd+AhN01D+bdBc aVUQ== X-Gm-Message-State: ALyK8tIugs1GpfB//izx6d6x+SdaKUiWTB/Q+vEGH77aUmAmPUbIuV1u0ggMFR27AoP3og== X-Received: by 10.28.13.137 with SMTP id 131mr4038260wmn.52.1465319321860; Tue, 07 Jun 2016 10:08:41 -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) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 7 Jun 2016 19:08:35 +0200 Message-Id: <1465319317-50519-3-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1465319317-50519-1-git-send-email-pbonzini@redhat.com> References: <1465319317-50519-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::243 Subject: [Qemu-devel] [PULL 08/13] Makefile: add dependency on scripts/create_config X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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