]> git.baikalelectronics.ru Git - uboot.git/commit
buildman: Allow ignoring warnings in the return code
authorSimon Glass <sjg@chromium.org>
Wed, 18 Mar 2020 15:42:44 +0000 (09:42 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 11 Apr 2020 01:21:06 +0000 (21:21 -0400)
commitd5c1bfdd19d599b7b0faa6a61a85047576a4a598
treec8ea9fdc32576aa662fa59ebc2522317a62357aa
parent7935a60ffb740599ac41322aa15fd901bbe1f10a
buildman: Allow ignoring warnings in the return code

Sometimes we don't want buildman to return failure if it seems warnings.
Add a -W option to support this. If buildman detects warnings (and no
errors) it will return an exit code of 0 (success).

Note that the definition of 'warnings' includes the migration warnings
produced by U-Boot, such as:

    ===================== WARNING ======================
    This board does not use CONFIG_DM_MMC. Please update
    ...
    ====================================================

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/buildman/README
tools/buildman/cmdline.py
tools/buildman/control.py