From patchwork Thu Nov 10 02:14:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1701968 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=85.214.62.61; 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=Axdh9+YY; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (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 4N759C0NPZz23lT for ; Thu, 10 Nov 2022 13:18:22 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3F8998511C; Thu, 10 Nov 2022 03:17:15 +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="Axdh9+YY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E10F280FB5; Thu, 10 Nov 2022 03:16:28 +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-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 37C3D850B9 for ; Thu, 10 Nov 2022 03:16:18 +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 o13so384030ilq.6 for ; Wed, 09 Nov 2022 18:16:18 -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=Bt28wWVHQeMMQRhwVnVEBbJx+iOfBY8SmWXQ7jre/Z8=; b=Axdh9+YYk60os66qemKKPZDeAohXE5Clml0IZ3lRlKG6y2yWRMHnTW0VuQrFO93SHk ktHmEVDa65bl10ILsMguguYJdz4j8uhyMB2Y9HOgYJWRWAt88fpUzawW+I7Q92043kjG VGj0kyzkXKSh2Ko7Kib4ZD2J/AtOnwRCYekig= 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=Bt28wWVHQeMMQRhwVnVEBbJx+iOfBY8SmWXQ7jre/Z8=; b=pkumle7eU4caw+VvmXlJ3K6QoHNnArV50/faqXfDI87H593uhuXEzi1PDLCukzooWu vU2BZFI38fC6JyZdGUQRjPw4DQYD+R8mfPqA6tK6ssaSqb4x+Rc6kxm9+9L9HxP+n50p Ohba7FULOEhTbKwvHBYwr5YMsEZhr1HFIMTrWWxzuYp9fTbRV4ATvILQZ3x2aiBnsXTh xgHwOmX00R1mt8H/oVxLowjDhIpmRaes4/Emt66Yhma2/tyseEa5+oESo9o2hxnF6kfK AHG6lnPyvR+B/Aa9LfPkT4i+Wokwk9meJt04rfpjySguF+3vIihPao6b+B1WwnKfAxPe rRwg== X-Gm-Message-State: ACrzQf2Ya9ZXaTgKqwhOOL+XDMkVIh6I1Se+Nk46JPRmCWXiDNRvshfk ljFGGuc23RBwg6N7UP/RNel4B7h9O1Abcg== X-Google-Smtp-Source: AMsMyM73NzAK7DP32zp5tDDo1V2t7Kku84CDKa8wJ7/UqCFrtMDYxBKQJlL2xAkOxICqLe9m9jZ2lg== X-Received: by 2002:a92:8743:0:b0:2f9:4402:9c77 with SMTP id d3-20020a928743000000b002f944029c77mr2566501ilm.145.1668046571143; Wed, 09 Nov 2022 18:16:11 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Nov 2022 18:16:10 -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 v5 12/16] global: Do not default to faking missing binaries for buildman Date: Wed, 9 Nov 2022 19:14:50 -0700 Message-Id: <20221110021455.1004335-13-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 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 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 93d5c064f4c..2c0433c73df 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)) \