Martin L Roth has uploaded a new patch set (#2). ( https://review.coreboot.org/c/coreboot/+/63754 )
Change subject: RFC: Kconfig - show boards supported on 4.11 branch (POC) ......................................................................
RFC: Kconfig - show boards supported on 4.11 branch (POC)
This patch is a proof of concept for the idea of showing boards that are no longer supported on the master branch. They can be selected in Kconfig, but the user is told 3 different ways which branch the board is supported in. 1) When selecting the mainboard, it's in the mainboard name. 2) When exiting from Kconfig, the main menu is gone, and a note saying that the user needs to check out a branch to build that board. 3) When make is run after saving the .config file, it halts, telling the user what needs to be checked out.
As a proof of concept, I've only implemented a few boards from the 4.11 branch, but the concept is similar for any board on any branch.
We could check out the branch for the user, but there was debate in the leadership meeting about whether that would be expected or not, so it's not implemented in this patch, but it would be simple to add a script that would check the branch out for you.
There were also concerns about the Kconfig that was generated not working correctly in the branch. That should be fixed with this change as the saved .config is very minimal. By excluding the rest of the Kconfig if a branch build is selected, the resulting Kconfig basically just has the board vendor and defaults, thus acts similar to a defconfig.
Signed-off-by: Martin Roth gaumless@gmail.com Change-Id: I5fe1c508e97b52a6b70b33107c6e17cc7d7faeb2 --- M Makefile M src/Kconfig M src/mainboard/Kconfig A src/mainboard/adi/Kconfig A src/mainboard/adi/Kconfig.branch A src/mainboard/adi/Kconfig.name A src/mainboard/advansus/Kconfig A src/mainboard/advansus/Kconfig.branch A src/mainboard/advansus/Kconfig.name M src/mainboard/amd/Kconfig A src/mainboard/amd/Kconfig.branch 11 files changed, 144 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/54/63754/2