From patchwork Mon Oct 10 20:00:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1688260 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=Tc0tF6y0; 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) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4MmVCS5RGrz23jS for ; Tue, 11 Oct 2022 07:00:52 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4FE0584ADF; Mon, 10 Oct 2022 22:00:46 +0200 (CEST) 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="Tc0tF6y0"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 904DA84EEF; Mon, 10 Oct 2022 22:00:44 +0200 (CEST) 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-xd34.google.com (mail-io1-xd34.google.com [IPv6:2607:f8b0:4864:20::d34]) (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 1225384D8E for ; Mon, 10 Oct 2022 22:00:39 +0200 (CEST) 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-xd34.google.com with SMTP id r142so5123387iod.11 for ; Mon, 10 Oct 2022 13:00:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; 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=BWrJbfcDH4r4TbPLxi5DHdu1z1Uo5f3zq8vwp0q7AHI=; b=Tc0tF6y0NWNlJ8pc7SGdl+lVpfpz+CxE4sWyYj1dktUDA6+4rIf87i8YqRMpyxa98e yO9oiqyc5NtFvWZS3i3SiuhbxQSA+r9+5smB/Q+jOySYkb8AtXt/I2FMi1XHwARi8Jdm tOFXXqaFO/qARjaa4uXyXXwbJeDAzl+EqpCZg= 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=BWrJbfcDH4r4TbPLxi5DHdu1z1Uo5f3zq8vwp0q7AHI=; b=KbrEZO7/38AL40/9mgIBYMkxz9f8DC0/1S8uQ0MQcndGDsPsmNoHoqhBPRbY+74YA2 P8XXQN7apmr4VV127UrPHw3X/2CDC+oSxe7IgIPuLrZgqFFDBzEoYEa2nAFUbo9OA28l as6UENuDNwz92JA4dkGrkkr9DWTo/D7kdyERWIKIgfAIhqDAZ8bcN4VA6mlUVX+tPxF7 arx5onNxxEW+RNfwboP73db/yVN3LDKy6heoEnX859rC6sHzMCDkTlSK7tFX0kUyCple Qpeud57UmGLl4ACHBi7zwM4Aw9fcnCPojzxKDVcG3QXdwZlx5WFRL9SEz8bKfVeUwsp8 BLxg== X-Gm-Message-State: ACrzQf2dqgD0aKOjNSURrRv/u2eZi6nXaSwRY3JfuzUAbygZf1q04JSP xRt6PRg7FBGcpu7F5ubK95gutJpnlVhVPw== X-Google-Smtp-Source: AMsMyM5GBcM1K6vq7d3+3t3Nd42niuVHEExYFJiM3YpT6hiYnOMw0QQ2N/9clwBH//rSZm3HCm9NGg== X-Received: by 2002:a05:6602:13c3:b0:6a3:41bd:b99 with SMTP id o3-20020a05660213c300b006a341bd0b99mr9384492iov.103.1665432036938; Mon, 10 Oct 2022 13:00:36 -0700 (PDT) Received: from kea.bld.corp.google.com ([2620:15c:183:200:295e:d074:1d59:53b1]) by smtp.gmail.com with ESMTPSA id z18-20020a926512000000b002f5024d8543sm4157717ilb.38.2022.10.10.13.00.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 13:00:36 -0700 (PDT) From: Simon Glass To: u-boot@lists.denx.de Cc: Rasmus Villemoes , Tom Rini , Simon Glass , Alper Nebi Yasak , Heinrich Schuchardt , =?utf-8?q?Marek_Beh=C3=BAn?= , =?utf-8?q?Pali_Roh=C3=A1r?= , Quentin Schulz Subject: [PATCH 0/5] Makefile: Deal with missing blobs consistently Date: Mon, 10 Oct 2022 14:00:27 -0600 Message-Id: <20221010200032.73483-1-sjg@chromium.org> X-Mailer: git-send-email 2.38.0.rc2.412.g84df46c1b4-goog 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 Missing blobs should cause the build (with make) to fail, but at present success is returned. This is because binman currently produces an exit code of 0 in this case. Of course this is not correct, since the images cannot actually be used. This series fixes that and adjusts buildman to deal sensibly with the situation. It also includes a buildman patch to deal with N: entries in the MAINTAINER files and a few other minor niggles noticed along the way. Simon Glass (5): buildman: Handle the MAINTAINERS 'N' tag Makefile: Correct a missing FORCE on the binman rule doc: Correct the path to the Makefile documentation binman: Use an exit code when blobs are missing buildman: Detect binman reporting missing blobs Makefile | 2 +- scripts/Kbuild.include | 2 +- tools/binman/binman.rst | 4 ++++ tools/binman/cmdline.py | 3 +++ tools/binman/control.py | 7 ++++++- tools/buildman/boards.py | 11 +++++++++++ tools/buildman/builderthread.py | 6 +++++- 7 files changed, 31 insertions(+), 4 deletions(-)