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 A6FB5C0015E for ; Sun, 16 Jul 2023 00:50:54 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 45A838677D; Sun, 16 Jul 2023 02:40:57 +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="MUEkahaj"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D5DC586287; Sun, 16 Jul 2023 02:38:46 +0200 (CEST) Received: from mail-il1-x12d.google.com (mail-il1-x12d.google.com [IPv6:2607:f8b0:4864:20::12d]) (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 6E7A286612 for ; Sun, 16 Jul 2023 02:38:20 +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-il1-x12d.google.com with SMTP id e9e14a558f8ab-345a8a78bcfso15050365ab.2 for ; Sat, 15 Jul 2023 17:38:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689467899; x=1692059899; 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=J2TjIhBWPqtNNDaazN+ttp6O8gCVjWItJnjwnmi9ECo=; b=MUEkahajEV9ydJsQzafsOBrv+vU8rlnhrHKRflt5ykHpFwnBF+lTtJtj+fRmCbgwx4 PcAtIogV7ai0nsAOvLT8rdzQLK7m5jHg78ul+CB9UkVij40H52prP4VwnP0R9WlCa4Ne Bxz4dIwjnA9H1irvpRsF/X4g4a9jF8XJCIf8U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689467899; x=1692059899; 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=J2TjIhBWPqtNNDaazN+ttp6O8gCVjWItJnjwnmi9ECo=; b=japg/zQxYdJDO4ouAkayGDzjP9yoB1INeub0fDrv8N73gc2YQoMcCuP9IDDbEwd31C Wn6mvFl7duRoeoh61j12JpVNFBoWxUM7FsblceC9Dhtb/U22mmTpxknxai4mbWInZvXH YsUSgQKnsiMaJ58tQrMkM6Hau5XwtLIJtex3pHoPpPOq7qUcWWnEhTt3txnPHasQK2zV QWbXf6ixmpgpBem7Lnd7llaVGATrvjvl81+J6qLQxkX9g+1CCdcOsMRHqPqpk3goBw9B nbGkD69mSnu+mhIvSgXMFzvtfWcFsLhghaAd/Vd4NYaN3cJE/8QYN+H82BbO3SwXvfwt 9d7g== X-Gm-Message-State: ABy/qLY3W1mTxwMpL5v/u/mzHV9H+g8siY9/VqiWbSlTOUoTf/zdGkQm U8Ja7dT7pFohWov21ZHm1a7l7523jAEAsO18dWA= X-Google-Smtp-Source: APBJJlGlU4RGTg+BUVxTuV9r6Gqzpkxp07DHgJzMy9/JUWfxhpCx/K96nfOyApGTkX1hrChQiIHDFw== X-Received: by 2002:a92:dc46:0:b0:347:e086:eb30 with SMTP id x6-20020a92dc46000000b00347e086eb30mr6430394ilq.2.1689467899077; Sat, 15 Jul 2023 17:38:19 -0700 (PDT) Received: from sjg1.lan (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id t3-20020a05663801e300b0042b52dc77e3sm3510512jaq.158.2023.07.15.17.38.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jul 2023 17:38:18 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass Subject: [PATCH v3 79/81] buildman: Use -D for --debug Date: Sat, 15 Jul 2023 18:36:47 -0600 Message-ID: <20230716003718.231903-80-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.455.g037347b96a-goog In-Reply-To: <20230716003718.231903-1-sjg@chromium.org> References: <20230716003718.231903-1-sjg@chromium.org> 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.8 at phobos.denx.de X-Virus-Status: Clean Change -D to mean --debug for consistency with other tools. This is not a commonly used option, so the impact should be minimal. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to use -D for --debug tools/buildman/buildman.rst | 6 +++--- tools/buildman/cmdline.py | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/tools/buildman/buildman.rst b/tools/buildman/buildman.rst index 8295487dd423..f6905d499fcb 100644 --- a/tools/buildman/buildman.rst +++ b/tools/buildman/buildman.rst @@ -1066,9 +1066,9 @@ same as 'am335x_evm_usbspl'/ The -K option uses the u-boot.cfg, spl/u-boot-spl.cfg and tpl/u-boot-tpl.cfg files which are produced by a build. If all you want is to check the -configuration you can in fact avoid doing a full build, using -D. This tells -buildman to configuration U-Boot and create the .cfg files, but not actually -build the source. This is 5-10 times faster than doing a full build. +configuration you can in fact avoid doing a full build, using --config-only. +This tells buildman to configuration U-Boot and create the .cfg files, but not +actually build the source. This is 5-10 times faster than doing a full build. By default buildman considers the follow two configuration methods equivalent:: diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 047cd1a39eab..4331fbdab310 100644 --- a/tools/buildman/cmdline.py +++ b/tools/buildman/cmdline.py @@ -38,13 +38,13 @@ def add_upto_m(parser): parser.add_argument('-C', '--force-reconfig', dest='force_reconfig', action='store_true', default=False, help='Reconfigure for every commit (disable incremental build)') + parser.add_argument('--config-only', action='store_true', + default=False, + help="Don't build, just configure each commit") parser.add_argument('-d', '--detail', dest='show_detail', action='store_true', default=False, help='Show detailed size delta for each board in the -S summary') - parser.add_argument('-D', '--config-only', action='store_true', - default=False, - help="Don't build, just configure each commit") - parser.add_argument('--debug', action='store_true', + parser.add_argument('-D', '--debug', action='store_true', help='Enabling debugging (provides a full traceback on error)') parser.add_argument('-e', '--show_errors', action='store_true', default=False, help='Show errors and warnings') -- 2.41.0.455.g037347b96a-goog