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 6CBC7C0015E for ; Thu, 20 Jul 2023 00:04:23 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 904B686922; Thu, 20 Jul 2023 01:53:08 +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="OV09jnv8"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7F0CC867E7; Thu, 20 Jul 2023 01:51:08 +0200 (CEST) Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) (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 0CF7686811 for ; Thu, 20 Jul 2023 01:51:01 +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-xd31.google.com with SMTP id ca18e2360f4ac-785ccf19489so8873339f.3 for ; Wed, 19 Jul 2023 16:51:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1689810659; x=1690415459; 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=RbdGYhff/mITnIKVeVwxyryFuebBee8kXJRXH/pRlPw=; b=OV09jnv8bxJwri1QqtqshJOCy8uffu57JBQoXjKhBmUztrYP2q1g4gw9UnnTNCkWBx nnxMytCKH7btOqKWB4/soO5sM+yVkgCbbYYOYqkN4360wf+9K4EN6Hgj5PcZ8mIJDb3y /Zi1S0hWSiBU7E0EHgRN3i6LxSUuyeuAxCvtQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689810659; x=1690415459; 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=RbdGYhff/mITnIKVeVwxyryFuebBee8kXJRXH/pRlPw=; b=bW/APHYvhPReSySiUDIZbtzFUQitabmZUb3UFUa7L3+hxJoNcoHeoCBnTYARHMm+kA 4vbLOHVVVCaAvHqLVHPBr2mc3EgEYdRqZkyezXDnzWXZCFuBsObrPzc337bM0qZwpkjc a2y0QvsrWYpcV0RW9My51xbFManJY1+enCsnRLehW+19DqIt/RXzA86D3+JV0zZQ+g9d qY3nElv5jrcHaKPDP6Qn/gIL6HOBck1+uLKbJAXCa382e+UmMZqneEBRdxy1vaBjO8n6 T7GwpapaWDZeU9lp+wdi40m7Uc59/lyu252bKzMYM5NfxxIRyo5+lYmjU8tDKLRwASQQ jj9w== X-Gm-Message-State: ABy/qLbFuNOa8RAX7kpoXD0T95DcdQRugetpRdPtLa6mAQfj/uWNf2xO gVljEE66yh8aLUN23g2ZkTwNGjiwAwfB2EaiU9c= X-Google-Smtp-Source: APBJJlEmm8i0g0CZSzKQGzMQ4Is54Xu+eOLa6bxkhktNLszihjag1NU0qhquFTu7ygqPrD1TM9LQHA== X-Received: by 2002:a92:c54b:0:b0:348:824b:8949 with SMTP id a11-20020a92c54b000000b00348824b8949mr7881957ilj.15.1689810659654; Wed, 19 Jul 2023 16:50:59 -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 ed16-20020a056638291000b0042bb1779c18sm1551779jab.151.2023.07.19.16.50.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Jul 2023 16:50:59 -0700 (PDT) From: Simon Glass To: U-Boot Mailing List Cc: Mike Frysinger , Simon Glass Subject: [PATCH v4 81/83] buildman: Use -D for --debug Date: Wed, 19 Jul 2023 17:49:29 -0600 Message-ID: <20230719234953.796101-82-sjg@chromium.org> X-Mailer: git-send-email 2.41.0.487.g6d72f3e995-goog In-Reply-To: <20230719234953.796101-1-sjg@chromium.org> References: <20230719234953.796101-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 --- (no changes since v3) 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.487.g6d72f3e995-goog