]> git.dujemihanovic.xyz Git - u-boot.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)
commitbec06ed8920ccf570ee80436488dd6426733bb15
tree78ecdaa17b87456eaf8ae7b4ce013b5669791634
parentf99f34b14b7c48360452a0bcca395e0fc7a01b2b
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