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 E3446C433F5 for ; Mon, 10 Oct 2022 15:18:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5D63E84EE6; Mon, 10 Oct 2022 17:18:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com 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=konsulko.com header.i=@konsulko.com header.b="k/K4kLMm"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6AE2484ECC; Mon, 10 Oct 2022 17:18:37 +0200 (CEST) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 1589D84EE6 for ; Mon, 10 Oct 2022 17:18:34 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qt1-x82c.google.com with SMTP id h15so2511773qtu.2 for ; Mon, 10 Oct 2022 08:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=jmvhJJDeZd2HSAukUs/uMWiKs5x2UjeY3h1LMdISGrw=; b=k/K4kLMm2lp5BQi6UZ6FFoKdd2uWRanhQSjCS/+g9p9B/wMAKBvXaeCs1j22Wme3zH QtRWPQOeiVhenRD+FQ2DYFx0T+oMw8v2M5dqrFxbcCIHfhAaC5Bw92wXdfBpa/lySwG8 mXRw2z3lgqMJPscYuY9bdaFt0mcaAhE+T9h+c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jmvhJJDeZd2HSAukUs/uMWiKs5x2UjeY3h1LMdISGrw=; b=rSO6YW8QPqcYY64BgPnm0CXtq4iv/AtycuIeLmEH/OyaD9LShWFQ1xsGz2Htf4kA4L SVREe10L6U+ZykY50aDkfq2jOLmAUSy7bVgQ/o01Vghuuxe+GZwFgfxDrwK4SBvvPiyN 3XPW7KV6ZHYdA+dayuANm4TI0RhttwR7FIysda3NNs7kr+GA9kL2GmG+YtI1gL9reABR wjHzSpNfNM9oSuS9Rf0nDKElM123QuPK1f1edklbrHrR4GHdo8EKkBI+5hcTtXqzUaFr fpk8dYhLl7Pn1TTVWF30ASe6NpYyqQ6UKyxNxc01nxcjhz2VVFdIcoJ+xaF6zVt8vXqc I5Kw== X-Gm-Message-State: ACrzQf2ImBj2mlz5OFLLQKrLAutovIe3D7I22Z/DPreqFIdHHw0CYrkW Bf0Iz+RWKCsNJpgPw2gfji9bdpEN6aLfSg== X-Google-Smtp-Source: AMsMyM7Mqp4l/FdEW8Xcz1xCUliQUXhoYTtvhcuKCkCHF1B7MYaLcmE5waEqePzFXp3FNSMMIMD6xQ== X-Received: by 2002:ac8:5c0b:0:b0:35c:e066:998d with SMTP id i11-20020ac85c0b000000b0035ce066998dmr15176860qti.336.1665415112705; Mon, 10 Oct 2022 08:18:32 -0700 (PDT) Received: from bill-the-cat.lan (2603-6081-7b00-6400-9534-07b5-32fb-791d.res6.spectrum.com. [2603:6081:7b00:6400:9534:7b5:32fb:791d]) by smtp.gmail.com with ESMTPSA id k15-20020a05620a414f00b006e6a7c2a269sm10308346qko.22.2022.10.10.08.18.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 08:18:32 -0700 (PDT) From: Tom Rini To: u-boot@lists.denx.de Cc: Rasmus Villemoes , Simon Glass Subject: [PATCH 1/2] global: Do not default to faking missing binaries for buildman Date: Mon, 10 Oct 2022 11:18:30 -0400 Message-Id: <20221010151831.3376759-1-trini@konsulko.com> X-Mailer: git-send-email 2.25.1 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 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 --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 45f10759a137..535e52443ebf 100644 --- a/Makefile +++ b/Makefile @@ -1345,8 +1345,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)) \ -- 2.25.1