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 18A21C433FE for ; Sat, 5 Nov 2022 23:05:19 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 49DE8851BD; Sun, 6 Nov 2022 00:05:07 +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="l0ieY7i7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DE56B851BE; Sun, 6 Nov 2022 00:04:59 +0100 (CET) Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 89B13851F1 for ; Sun, 6 Nov 2022 00:04:55 +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-io1-xd30.google.com with SMTP id d123so6351917iof.7 for ; Sat, 05 Nov 2022 16:04:55 -0700 (PDT) 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=l0ieY7i7qLlsJNEB8l8eutSEsj1AL/+g6CncLeTLrGWkZuTZvGWYRgzYFmO2yxYrEf snncZJw6woO+Lkf0VP7Ws1IWt7Q7NkYj4MT0spx9mTX76HEQeNm72NFjcsHreMX+OURb 2e5NvTfDg4iT3XnMXE1y0yAjuRkNl5rLjegu8= 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=ZAVhpWF0OlAVhxpNskb0xJX+UG/lHsQYiVCxJNHlBZ7ExVwT+PpB6AN103b6XE4Xd3 Jq1CSfipYwjRaj9K9PAKx+F3wAwhldBuRsZfaY76BpZBT49x8yXOcHOp6I7D/MM05AN9 XgkrG45z8rJE3m2trHy2v7VNfkIllOwjSQ/Wzq3ep3Z5PH/eG6wN9vCwUrS87Mxzy0gx ShjfGl2tUcbdCCbcPTRKoXKrSF70XS5b4MpWGn3sQ+bCcyiq8K6FryJnJS+slEeVOcqK /vzRZhaPuWJOpTRZKRtBJKlNLyEcW0KKZPCn8XPDRU4MHR0sv+sq94oKDEyuh8n8HTez IlXQ== X-Gm-Message-State: ACrzQf2XC5jzinwLhrYxafRE3RBPH7xPGSiJck+ap/VbpDfK/ZM4bF3L B5CCvVL0yYDy18vbMbLqXdvHUjI1jwHxew== X-Google-Smtp-Source: AMsMyM700Rw+XYK/YihFemgCJWySexAS8eJsJlL8LxOjbXQSmUR4RkEaOMbG+tmSen/zEiG3KpoJeg== X-Received: by 2002:a05:6638:470a:b0:374:17a5:cee6 with SMTP id cs10-20020a056638470a00b0037417a5cee6mr25640446jab.161.1667689493741; Sat, 05 Nov 2022 16:04:53 -0700 (PDT) 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 a10-20020a92ce4a000000b0030014a5556bsm1271957ilr.69.2022.11.05.16.04.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Nov 2022 16:04:53 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Rasmus Villemoes , Tom Rini , Simon Glass , Heinrich Schuchardt , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Masahiro Yamada , =?UTF-8?q?Pali=20Roh=C3=A1r?= , Quentin Schulz Subject: [PATCH v3 1/9] Makefile: Correct the binman rule Date: Sat, 5 Nov 2022 17:04:31 -0600 Message-Id: <20221105230439.549139-2-sjg@chromium.org> X-Mailer: git-send-email 2.38.1.431.g37b22c650d-goog In-Reply-To: <20221105230439.549139-1-sjg@chromium.org> References: <20221105230439.549139-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