From 113a8a5ff3c44637ebfc661b6c399d39bcb4c180 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 9 Apr 2020 15:08:53 -0600 Subject: 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 --- tools/buildman/cmdline.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/buildman/cmdline.py') diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py index 8510c077f7..1377b9d2be 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] -- cgit