aboutsummaryrefslogtreecommitdiff
path: root/tools/buildman/cmdline.py
diff options
context:
space:
mode:
authorSimon Glass2020-04-09 15:08:53 -0600
committerSimon Glass2020-04-21 06:33:47 -0600
commit113a8a5ff3c44637ebfc661b6c399d39bcb4c180 (patch)
treedcb5e83186d05158b85ca21554892637540fd60f /tools/buildman/cmdline.py
parent174592b964c762eca5e405494dda0ffc10deeb7b (diff)
buildman: Add an option to ignore migration warnings
These are becoming more common now. They cause boards to show warnings which can be mistaking for compiler warnings. Add a buildman option to ignore them. This option works only with the summary option (-s). It does not affect the build process. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r--tools/buildman/cmdline.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py
index 8510c077f74..1377b9d2bec 100644
--- a/tools/buildman/cmdline.py
+++ b/tools/buildman/cmdline.py
@@ -116,7 +116,10 @@ def ParseArgs():
help='Specify a list of boards to exclude, separated by comma')
parser.add_option('-y', '--filter-dtb-warnings', action='store_true',
default=False,
- help='Filter out device-tree-compiler warnings from output')
+ help='Filter out device-tree-compiler warnings from output')
+ parser.add_option('-Y', '--filter-migration-warnings', action='store_true',
+ default=False,
+ help='Filter out migration warnings from output')
parser.usage += """ [list of target/arch/cpu/board/vendor/soc to build]