From patchwork Mon Nov 7 23:28:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1701004 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=SvvSe4m/; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4N5nXv4N8xz1yqS for ; Tue, 8 Nov 2022 10:30:55 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C53B6850CB; Tue, 8 Nov 2022 00:29:34 +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="SvvSe4m/"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 3F9D68504C; Tue, 8 Nov 2022 00:29:19 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 4A5EA85068 for ; 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=sjg@chromium.org Received: by mail-io1-xd35.google.com with SMTP id b2so10195899iof.12 for ; Mon, 07 Nov 2022 15:29:05 -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=TsmHl4UGI/E30CYNQEm3cMiZGIavbtmY//uXmJzRuBg=; b=SvvSe4m/fipGcvM/36yTWvefb9FoMzrUnGoqonZZZUkz3RdStUm75DT5TitibNy3AP zvsQktVzp4rFETDNoc9SPEo8doDtIf/4BxBrohrHdjYvg7nIazTG2jcTZ9Dp2t9sE5tj Mf2Oku7WTb8IRNMW6RdsdPe8SwlLSqT7mwog0= 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=TsmHl4UGI/E30CYNQEm3cMiZGIavbtmY//uXmJzRuBg=; b=0cP+xfDEt2/bFJaTkCSEsSaZnqQxgJIhHJ7sRIVfkm7uWYNbIe+arv5wxCk5mE0TTd owROUxVv3cNHxzzyKUHUiYvVUbZWUgn8ekYXtl3G2nuffHkglB70P+QrIBisCcG5/Rk5 2VpM6Y3HVKevENGGS8Dm8YdxaQYeY9uhsufl15WVmK8cL2a7mYYZR+WJWJp4uHMAVzsI tTDeQMskppCBwdOJktazdxyZVvidThphm6ebZrvcX/HvTit7nq0DTrQwAXdnVhPO9mev +u9QhKp3eUNtQTl6lqoAbPk+Ce2m7wWfCV215iko2TPIUlUR8rMfJBSP4/i3c4jjhoNp YpUg== X-Gm-Message-State: ACrzQf1aUdJmZR63QYlHFHzRtHk1/xqUVWiyK31BbhhyHi+YgHV06Bkv PVtp0vJa+t5HJHDY7L5MmZflPgcr0Z57Yg== X-Google-Smtp-Source: AMsMyM7vrlcNh6eQmvEyxI+eHyrWFf2OccvGKQxJNnAC5RZ01c5ua93oPj+qkUMaKOIXFrs7f5TJag== X-Received: by 2002:a05:6602:2a4b:b0:6d8:ffce:a26f with SMTP id k11-20020a0566022a4b00b006d8ffcea26fmr8376074iov.131.1667863743356; Mon, 07 Nov 2022 15:29:03 -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.29.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 15:29:03 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Tom Rini , Rasmus Villemoes , Simon Glass , Heinrich Schuchardt , =?utf-8?q?Marek_Beh=C3=BAn?= , =?utf-8?q?Pali_Roh=C3=A1r?= , Quentin Schulz Subject: [PATCH v4 10/11] global: Do not default to faking missing binaries for buildman Date: Mon, 7 Nov 2022 16:28:46 -0700 Message-Id: <20221107232847.753769-11-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 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 From: Tom Rini While it is possible and documented on how to re-run buildman to replace faked required binary files after the fact, this behavior ends up being more confusing than helpful in practice. Switch to requiring BINMAN_ALLOW_MISSING=1 to be passed on the 'make' line to enable this behavior. Cc: Rasmus Villemoes Cc: Simon Glass Signed-off-by: Tom Rini Signed-off-by: Simon Glass --- (no changes since v1) Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3f900855c22..5bbb6dc3a71 100644 --- a/Makefile +++ b/Makefile @@ -1333,8 +1333,8 @@ cmd_binman = $(srctree)/tools/binman/binman $(if $(BINMAN_DEBUG),-D) \ $(foreach f,$(BINMAN_TOOLPATHS),--toolpath $(f)) \ --toolpath $(objtree)/tools \ $(if $(BINMAN_VERBOSE),-v$(BINMAN_VERBOSE)) \ - build -u -d u-boot.dtb -O . -m --allow-missing \ - --fake-ext-blobs \ + build -u -d u-boot.dtb -O . -m \ + $(if $(BINMAN_ALLOW_MISSING),--allow-missing --fake-ext-blobs) \ -I . -I $(srctree) -I $(srctree)/board/$(BOARDDIR) \ -I arch/$(ARCH)/dts -a of-list=$(CONFIG_OF_LIST) \ $(foreach f,$(BINMAN_INDIRS),-I $(f)) \