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 E8839C433F5 for ; Tue, 11 Oct 2022 14:15:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0F11284F0C; Tue, 11 Oct 2022 16:15:58 +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="Fu8zsIZy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9CD6584F09; Tue, 11 Oct 2022 16:15:55 +0200 (CEST) Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 A3FE384567 for ; Tue, 11 Oct 2022 16:15:52 +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-xd2a.google.com with SMTP id h203so3250697iof.1 for ; Tue, 11 Oct 2022 07:15:52 -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=WBGTw2GeJX9UFqDTdKg6YzwYdidgK5qIYWpjr+PgUYc=; b=Fu8zsIZy4J5EZv98mk0Vg22wwTqTXGf2JhVL0IY3fz7G6EoMYft5HSHsChj8luP3fU DWwH655JE1S7HASmGj/PNnYk9zz7fi79YihoYYhHf+KXiatyj+xSQHLQarf+IjMo7eDa RESbKHc5198mttpHMp7qTBalZ3DwOtn3y42l0= 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=WBGTw2GeJX9UFqDTdKg6YzwYdidgK5qIYWpjr+PgUYc=; b=pptwHKkC/qfNNJYmI2E0Mt58qk+cgsUaZYE5bfzZzdJYj6ahLbAkxeotXxjQi/vJoG kIhWV+GY6UKD6FpIMQr5stjlVOK+MzngVqXRTg+tEP+f0z4F5Q8iQneXxdI8RTfEC06i 3NrIBsIeeZmTnv6mZMwFibd5t+eUSglEdYQfqYaSefQF0hpcQyKVKBytOIgNcqhLWEsF ZlCVNyrnGLNmZbUIUdev9YYBUrMJk3Ct2b51ALySvaxbarMb51F3+MLUJrFwEs1DDRO/ api+nb9KcYzIXmvvukcNZIA90CEbLZwy82EmVW6Pkh1Jq5HvNMxksRdrRbRCmF1rWEcq Gmcw== X-Gm-Message-State: ACrzQf02RCUlEQFXNVE51bVSDBz+QIE5UYJUDNYbRfJtID5MWStlVSjD Kgxn/5OSROvPq+rqRy/LMSf5yn2Wo/FXsQ== X-Google-Smtp-Source: AMsMyM6IkfuD97Fsl0XePFyvnxtRf/zlZJ+OJLFy5P+fGnIpyUQQ4yt8R45q8oJ7PjFtwpDKBFeMbg== X-Received: by 2002:a02:cabb:0:b0:363:5b16:c871 with SMTP id e27-20020a02cabb000000b003635b16c871mr13163455jap.6.1665497750861; Tue, 11 Oct 2022 07:15:50 -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 o42-20020a02742a000000b0035a9b0050easm5235155jac.18.2022.10.11.07.15.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Oct 2022 07:15:50 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Quentin Schulz , Rasmus Villemoes , Tom Rini , Simon Glass , Alper Nebi Yasak , Heinrich Schuchardt , =?UTF-8?q?Marek=20Beh=C3=BAn?= , Masahiro Yamada , =?UTF-8?q?Pali=20Roh=C3=A1r?= Subject: [PATCH v2 0/5] Makefile: Deal with missing blobs consistently Date: Tue, 11 Oct 2022 08:15:36 -0600 Message-Id: <20221011141541.538175-1-sjg@chromium.org> X-Mailer: git-send-email 2.38.0.rc1.362.ged0d419d3c-goog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 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. Changes in v2: - Fix missing usage of the msg variable - Simplify code to remove the 'else' 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 | 6 +++++- tools/buildman/boards.py | 11 +++++++++++ tools/buildman/builderthread.py | 6 +++++- 7 files changed, 30 insertions(+), 4 deletions(-) -- 2.38.0.rc1.362.ged0d419d3c-goog