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 BCFBAC4332F for ; Thu, 10 Nov 2022 02:16:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E34C885103; Thu, 10 Nov 2022 03:16:14 +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="RqoofJcn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BFB6E85103; Thu, 10 Nov 2022 03:16:10 +0100 (CET) Received: from mail-il1-x12e.google.com (mail-il1-x12e.google.com [IPv6:2607:f8b0:4864:20::12e]) (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 CC1E9850E0 for ; Thu, 10 Nov 2022 03:16:04 +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-x12e.google.com with SMTP id q5so365045ilt.13 for ; Wed, 09 Nov 2022 18:16:04 -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=78uBgkZqD0H0821yoTbQbGiRwLedL2XUy8GQwA0hodM=; b=RqoofJcn37OhLW4If/mmePPAx1pWIHOTFVJWqg5Vw88OU1N20M8UK67c2w+nN44rq4 c8OLuYRa2Z5xXX56bpUkgJveVjlEP/of0PmTgEjqYoT6ElwtAyCIurGbxN+fzJ8rFM14 NL9w8aHXrX1UR0WmWL0ZFOH6wA8iz7dQV/Xas= 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=78uBgkZqD0H0821yoTbQbGiRwLedL2XUy8GQwA0hodM=; b=xo/VlYpNYbvwg8CkCHdlTEp4TY+XlSap26kwVyrDj+HJU2dG06rKmAMqi3EsR2biEx ToFfosFQwtm6+DK7CeUXzGuZ6tX3NkuwhAWsVzK/L7I1BnWJonl9xUbcT4vZL46qGSoN FPizEbP+HYcGWKLukRYFu7vLw2sKVqTkxwvH6v2iL1/uvvKvBCBiVNTDqAnkMVN9RJCV scNneMbxJF7UepzGvIcauRSPsazg6YCCDYdEKlNUvJ82TRncnlpctorswe9aHBTg3i0C +kqbldOYGpEdEf2bZunl9/RFbzUxRVFvglbfdb+IB8SkXV9G2rLnHA2frK3NF62zD6li HfGg== X-Gm-Message-State: ANoB5plKabrgXVlGhO1uNxmmesSPGN3cyl063hmLvY3QihEY7OROwjF8 8xT39WJstBmeP/8EeI5b6v27lwebk5JgZQ== X-Google-Smtp-Source: AA0mqf7KWx4OQUkPTo2pSZTvjtv/vNxPGx/5Y8mRpQnJ90H9N1tbPMGytodEQe7Xc/VeqM1YmzkXhQ== X-Received: by 2002:a05:6e02:198f:b0:302:130a:2f74 with SMTP id g15-20020a056e02198f00b00302130a2f74mr7922339ilf.166.1668046562606; Wed, 09 Nov 2022 18:16:02 -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 z23-20020a056638215700b003636b73cf29sm5352785jaj.8.2022.11.09.18.16.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 18:16:02 -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 v5 02/16] Makefile: Correct the binman rule Date: Wed, 9 Nov 2022 19:14:40 -0700 Message-Id: <20221110021455.1004335-3-sjg@chromium.org> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog In-Reply-To: <20221110021455.1004335-1-sjg@chromium.org> References: <20221110021455.1004335-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 d6699a54dbb..93d5c064f4c 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