]> git.sur5r.net Git - u-boot/blobdiff - tools/buildman/cmdline.py
buildman: add option -E for treating compiler warnings as errors
[u-boot] / tools / buildman / cmdline.py
index 74247f0aff128320f0de30a3f3a4f30dcf2da18c..6949d6bf2c8c4f7d0367aded63f698206200fe4f 100644 (file)
@@ -32,6 +32,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')