summaryrefslogtreecommitdiff
path: root/tools/buildman
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-07-20 02:49:29 +0300
committerSimon Glass <sjg@chromium.org>2023-07-24 18:34:11 +0300
commit39dbcaa1ad5a217e36678a1632c1e1ffa6bb82e2 (patch)
treeb98b1f2642a3957b7acce009207e131ce3c3334a /tools/buildman
parentad0378748e3e23e09c74d931367e8e379674770b (diff)
downloadu-boot-39dbcaa1ad5a217e36678a1632c1e1ffa6bb82e2.tar.xz
buildman: Use -D for --debug
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 <sjg@chromium.org>
Diffstat (limited to 'tools/buildman')
-rw-r--r--tools/buildman/buildman.rst6
-rw-r--r--tools/buildman/cmdline.py8
2 files changed, 7 insertions, 7 deletions
diff --git a/tools/buildman/buildman.rst b/tools/buildman/buildman.rst
index dcccae932e..2220806acc 100644
--- a/tools/buildman/buildman.rst
+++ b/tools/buildman/buildman.rst
@@ -1062,9 +1062,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 047cd1a39e..4331fbdab3 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')