Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2E549C433FE for ; Mon, 7 Nov 2022 23:29:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 822818508B; Tue, 8 Nov 2022 00:29:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="O+g9Jo0/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9CB808504A; Tue, 8 Nov 2022 00:28:59 +0100 (CET) Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BFB6484F9D for ; Tue, 8 Nov 2022 00:28:56 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-il1-x130.google.com with SMTP id x16so6687362ilm.5 for ; Mon, 07 Nov 2022 15:28:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k1iBP28j4e7GJ4oinzoiYstkR/aYUe0a40sj5tzVQ4s=; b=O+g9Jo0/eREg+FfrDCHD2Cn91OckjJvuuNnEbeizWZHByOBja9TkeDHfoTa3egY3on 8+VFlNLZHUONbFumz2qxk5PP1vsENWBh6L//rxT6qFOLGiq7P7sR8QQhPBt/IJq8Jgvo i4mKfudKlf8F2gGS9fKrjGe6+wiU8Zwu3q52k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k1iBP28j4e7GJ4oinzoiYstkR/aYUe0a40sj5tzVQ4s=; b=bSGw2CZwYaC1EsJmcg8fR3d2wydKgV7LDYenWbe1zEOivaRCGkq50SMzWC8Pm9Ng2F vtpMzymSNs2ur0u0CBhBpho9WSCaW5akZB/1DeSLo0zfwKpnOehnVPCg8NaBZnhGtOsF Ju6K65oUxC/UcLu+Rzzg8FTstoB/nJzbtcUAFAyz3ov1DBnZ6tzYMqkkPJDGt4p05OnD i9UcjW7kRurG+G1ezSU2B+hs6BfNeLYXTKa9PLIpvmK6AIo+rFNTwyeCxJalaTzFgtcH WKBu02i1dd22b4d8lF6e/ovgiYifKheMNr6IR4yv/VnwmLtWW9a+qRhkvuAcgpjkSqck amFw== X-Gm-Message-State: ACrzQf0ihYGrFPM2ARCW7SfspJQGhPcPYc7LXCBztBz2v1RSyhQFpZBC IMyLPgWE172DLb/lWnlZ5Z/v0n0CpNQp6Q== X-Google-Smtp-Source: AMsMyM5Xwi1AjX/CX+nY5j9Zx3tCMp0xhmizC8GF3K3iS/eXXFhiWxDU+3prEPdfJvt3cslCFh3LoQ== X-Received: by 2002:a92:b301:0:b0:300:f466:51ce with SMTP id p1-20020a92b301000000b00300f46651cemr10337379ilh.41.1667863735223; Mon, 07 Nov 2022 15:28:55 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-67-190-102-125.hsd1.co.comcast.net. [67.190.102.125]) by smtp.gmail.com with ESMTPSA id o126-20020a022284000000b00363f8e0ab41sm3217739jao.152.2022.11.07.15.28.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 15:28:54 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Rasmus Villemoes , Simon Glass , Heinrich Schuchardt , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Masahiro Yamada , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Quentin Schulz Subject: [PATCH v4 01/11] Makefile: Correct the binman rule Date: Mon, 7 Nov 2022 16:28:37 -0700 Message-Id: <20221107232847.753769-2-sjg@chromium.org> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog In-Reply-To: <20221107232847.753769-1-sjg@chromium.org> References: <20221107232847.753769-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean This currently uses if_changed on a phony target. Use a real file as the target and add FORCE at the end, as required. Drop the 'inputs' phony since it is not needed. Signed-off-by: Simon Glass --- (no changes since v2) Changes in v2: - Use a separate rule for running binman Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index d5c2c970092..3f900855c22 100644 --- a/Makefile +++ b/Makefile @@ -1108,18 +1108,15 @@ define deprecated endef -PHONY += inputs -inputs: $(INPUTS-y) - -all: .binman_stamp inputs +# Timestamp file to make sure that binman always runs +.binman_stamp: $(INPUTS-y) FORCE ifeq ($(CONFIG_BINMAN),y) $(call if_changed,binman) endif - -# Timestamp file to make sure that binman always runs -.binman_stamp: FORCE @touch $@ +all: .binman_stamp + ifeq ($(CONFIG_DEPRECATED),y) $(warning "You have deprecated configuration options enabled in your .config! Please check your configuration.") endif -- 2.38.1.431.g37b22c650d-goog