summaryrefslogtreecommitdiff
path: root/tools/buildman/cmdline.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-11-13 14:25:53 -0700
committerSimon Glass <sjg@chromium.org>2016-12-02 10:37:47 -0700
commitb464f8e7ded33dc3f3c26dd905e1fa9807dd7526 (patch)
treea5de172890a37ff9d53ad5378aa44bebb45e966e /tools/buildman/cmdline.py
parent94d2ebe5bcbbbd15e879ee2204e037f321d66b68 (diff)
downloadu-boot-imx-b464f8e7ded33dc3f3c26dd905e1fa9807dd7526.zip
u-boot-imx-b464f8e7ded33dc3f3c26dd905e1fa9807dd7526.tar.gz
u-boot-imx-b464f8e7ded33dc3f3c26dd905e1fa9807dd7526.tar.bz2
buildman: Squash useless output from -K
When using #define CONFIG_SOME_OPTION, the value it set to '1'. When using defconfig (i.e. CONFIG_SOME_OPTION=y) the value is set to 'y'. This results in differences showing up with -K. These differences are seldom useful. Adjust buildman to suppress these differences by default. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r--tools/buildman/cmdline.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py
index bd3776a..0060e03 100644
--- a/tools/buildman/cmdline.py
+++ b/tools/buildman/cmdline.py
@@ -59,6 +59,8 @@ def ParseArgs():
default=False, help='Keep all build output files (e.g. binaries)')
parser.add_option('-K', '--show-config', action='store_true',
default=False, help='Show configuration changes in summary (both board config files and Kconfig)')
+ parser.add_option('--preserve-config-y', action='store_true',
+ default=False, help="Don't convert y to 1 in configs")
parser.add_option('-l', '--list-error-boards', action='store_true',
default=False, help='Show a list of boards next to each error/warning')
parser.add_option('--list-tool-chains', action='store_true', default=False,