]> git.baikalelectronics.ru Git - uboot.git/commit
buildman: Replace the Options column with config name
authorSimon Glass <sjg@chromium.org>
Tue, 12 Jul 2022 01:04:06 +0000 (19:04 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 5 Aug 2022 15:47:56 +0000 (11:47 -0400)
commitae0e41d4d29512bba27e6ccebe9ef1c580f62437
tree4a2219c3f827d777d60f3d32bf6beb35ba2e08ac
parentbc92ecead9fbfac5669f107280f36a0149590097
buildman: Replace the Options column with config name

This appears in boards.cfg but we want to remove it. Drop support for
generating it and reading it. Detect an old boards.cfg file that has
this field and regenerate it, to avoid problems.

Instead, add the config name in that place. This fixes a subtle bug in
the generation code, since it uses 'target' for the config name and then
overwrites the value in scan() by setting params['target'] to the name
of the defconfig. The defconfig name is not the same as the
SYS_CONFIG_NAME variable.

With this change, we still have the config name and it can be searched
by buildman, e.g. with:

   buildman -nv sun5i

Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Tom Rini <trini@konsulko.com>
tools/buildman/board.py
tools/buildman/boards.py