]> git.sur5r.net Git - u-boot/blobdiff - tools/buildman/cmdline.py
db410c: Added pre-relocation attribute to pinctrl
[u-boot] / tools / buildman / cmdline.py
index 74247f0aff128320f0de30a3f3a4f30dcf2da18c..b8ddd4795c65e0d4343251279f8c82b35c07522b 100644 (file)
@@ -1,8 +1,6 @@
-#
+# SPDX-License-Identifier: GPL-2.0+
 # Copyright (c) 2014 Google, Inc
 #
-# SPDX-License-Identifier:      GPL-2.0+
-#
 
 from optparse import OptionParser
 
@@ -32,6 +30,8 @@ def ParseArgs():
           help="Don't build, just configure each commit")
     parser.add_option('-e', '--show_errors', action='store_true',
           default=False, help='Show errors and warnings')
+    parser.add_option('-E', '--warnings-as-errors', action='store_true',
+          default=False, help='Treat all compiler warnings as errors')
     parser.add_option('-f', '--force-build', dest='force_build',
           action='store_true', default=False,
           help='Force build of boards even if already built')