From patchwork Fri Apr 17 23:51:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 1272511 X-Patchwork-Delegate: sjg@chromium.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: 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: ozlabs.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: 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=MAHe0ops; 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 RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 493tF14y75z9sSg for ; Sat, 18 Apr 2020 09:52:37 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id B24D781D90; Sat, 18 Apr 2020 01:52:19 +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="MAHe0ops"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 4205F81D69; Sat, 18 Apr 2020 01:52:04 +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.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) (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 4598781D69 for ; Sat, 18 Apr 2020 01:51:54 +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-xd33.google.com with SMTP id 19so4243667ioz.10 for ; Fri, 17 Apr 2020 16:51:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XIfK4SYFRVYOVrAKp7Mr02TS2iYm1vlDMg895aKEaF0=; b=MAHe0ops7OQYNw0VT12bQ4dL/nU6av/Nj0/U/dS6xKr3/NKncqohis7PSnt5DOqZQT I7FJM1ApkEJjV9ZTFvPcr75vv7FY8vVeDBD1wW9e6tE7crQ1ClpEVh3nRgSGDolv5bMv puETewnmRQrVt9OI8Lr3HmgKd1H/osqw64DAM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XIfK4SYFRVYOVrAKp7Mr02TS2iYm1vlDMg895aKEaF0=; b=mxPxqskKiEMIRSenvLQbnW73QQk/Byv9+1TGES4e2EtabU0UMtfU/uhyvyQOhYrpuv lY/NJfOjbxeaAzH5firNIomDf8SQcoq/zGqvltiDcK/Zxax1J+Nn4sjL6A4MSsVyxjfs x5b6l9fHl/boUN97+YgThFZ7wiKiwHKinUbXH5oN/iqvzkRy+RREjd0xD7lWyOypN6Pg +n8aPhDKb/aKPVDiHwblCdibQiMQ7HA3gjuyzBmktpAHGgbXWs408z1a97BTdQt30FNI M2PMqnV7JUvr1FQgQcBmFDYO0zhf7SUuN6CXd3yIzUfNNs1H5tl5CFOJHT20LGNjSl6O 10cg== X-Gm-Message-State: AGi0PuaQd5G21gGhxUfBE3PrhdSLpNEuuKqRjFcbcQ/TUnH5a8x8+HbX uX7nhyGLB6Tf/IdzZgyMrBdLA3nyzz4q5g== X-Google-Smtp-Source: APiQypKJ1XT/vge9IU39uUgDAmczkMqre8aVXFGem+RKQj7c/uZZu6cf57m1+958mA5+Kw9jGwCYaQ== X-Received: by 2002:a5e:c814:: with SMTP id y20mr5547256iol.135.1587167512865; Fri, 17 Apr 2020 16:51:52 -0700 (PDT) Received: from localhost.localdomain (c-73-14-175-90.hsd1.co.comcast.net. [73.14.175.90]) by smtp.gmail.com with ESMTPSA id n138sm1941924iod.21.2020.04.17.16.51.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Apr 2020 16:51:52 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Masahiro Yamada , Simon Glass Subject: [PATCH 2/5] buildman: Correct operation of -A flag Date: Fri, 17 Apr 2020 17:51:31 -0600 Message-Id: <20200417235134.226223-3-sjg@chromium.org> X-Mailer: git-send-email 2.26.1.301.g55bc3eb7cb9-goog In-Reply-To: <20200417235134.226223-1-sjg@chromium.org> References: <20200417235134.226223-1-sjg@chromium.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.30rc1 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.102.2 at phobos.denx.de X-Virus-Status: Clean This was broken when -a was removed and unfortunately there are no tests for this. Fix it. Signed-off-by: Simon Glass Signed-off-by: Simon Glass --- tools/buildman/control.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/buildman/control.py b/tools/buildman/control.py index 30c030fd16..7ee036824f 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -207,7 +207,7 @@ def DoBuildman(options, args, toolchains=None, make_func=None, boards=None, sys.exit(col.Color(col.RED, 'No matching boards found')) if options.print_prefix: - err = ShowToolchainInfo(boards, toolchains) + err = ShowToolchainPrefix(boards, toolchains) if err: sys.exit(col.Color(col.RED, err)) return 0