]> git.baikalelectronics.ru Git - uboot.git/commit
buildman: Detect boards with multiple CONFIG_TARGETs defined
authorSimon Glass <sjg@chromium.org>
Wed, 19 Jul 2023 23:48:21 +0000 (17:48 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 24 Jul 2023 15:34:10 +0000 (09:34 -0600)
commit14273c867be42b7542a06714baab2e8fa8620bd4
tree78ecdaa17b87456eaf8ae7b4ce013b5669791634
parentb6f884c578ea3c43bd683fcf84aacb215a9ccd32
buildman: Detect boards with multiple CONFIG_TARGETs defined

The TARGET_xxx options are special in that they refer to a single target.
Exactly one should be enabled for each target, corresponding to a
defconfig file.

Detect configs which result in two TARGET_xxx options being set. For
example, at present, TARGET_POLEG and TARET_POLEG_EVB are enabled for the
same board.

Note: This warning is not displayed by default. An option will be added
to enable it.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/boards.py
tools/buildman/func_test.py