Right now, our Kconfig files in the mainboard/ directory in the v3 tree
are not exactly in the best shape. - MAINBOARD_NAME is claimed to be the mainboard name, but it is used exclusively as mainboard directory. - MAINBOARD_NAME is set in mainboard/$VENDOR/$BOARD/Kconfig to $VENDOR/$BOARD, but mainboard/$VENDOR/Kconfig already hardcodes $VENDOR/$BOARD as board path. - MAINBOARD_NAME has a help text which will never be displayed to the user. The diffstat is encouraging: A total of 200 lines have been removed completely. Per-board Kconfig files have been deleted, the remnants making sense have been merged into per-vendor Kconfig files and the never-shown help texts have been removed. If there are ever some real per-board options and not just tricks to make the makefiles behave, we can resurrect the per-board Kconfig files. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Acked-by: Ronald G. Minnich <rminnich@gmail.com> git-svn-id: svn://coreboot.org/repository/coreboot-v3@705 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
ea5e263466
commit
03dca375db
17 changed files with 38 additions and 237 deletions
2
Makefile
2
Makefile
|
|
@ -81,7 +81,7 @@ all: prepare prepare2 $(obj)/coreboot.rom
|
|||
$(Q)printf " DONE\n"
|
||||
|
||||
ARCH:=$(shell echo $(CONFIG_ARCH))
|
||||
MAINBOARDDIR=$(shell echo $(CONFIG_MAINBOARD_NAME))
|
||||
MAINBOARDDIR=$(shell echo $(CONFIG_MAINBOARD_DIR))
|
||||
export MAINBOARDDIR
|
||||
|
||||
COREBOOTINCLUDE := -I$(src) -Iinclude \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue