[PATCH v4 13/83] buildman: Detect boards with multiple CONFIG_TARGETs defined

Simon Glass sjg at chromium.org
Mon Jul 24 20:46:11 CEST 2023


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 at chromium.org>
---

(no changes since v3)

Changes in v3:
- Add new patch to detect boards with multiple CONFIG_TARGETs defined

 tools/buildman/boards.py    | 73 +++++++++++++++++++++++++------------
 tools/buildman/func_test.py | 20 +++++++++-
 2 files changed, 68 insertions(+), 25 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list