kconfig: automatically include mainboards
This change switches all mainboard vendors and mainboards to be autoincluded by Kconfig, rather than having to be mentioned explicitly. This means, vendor and mainboard directories are becoming more "drop in", e.g. be placed in the coreboot directory hierarchy without having to modify any higher level coreboot files. The long term plan is to enable out of tree mainboards / components to be built with a given coreboot version (given that the API did not change) Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Change-Id: Ib68ce1478a2e12562aeac6297128a21eb174d58a Reviewed-on: http://review.coreboot.org/9295 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
@@ -21,21 +21,11 @@ if VENDOR_IEI
|
||||
choice
|
||||
prompt "Mainboard model"
|
||||
|
||||
config BOARD_IEI_KINO_FAM10
|
||||
bool "Kino-780AM2(Fam10)"
|
||||
config BOARD_IEI_PCISA_LX_800_R10
|
||||
bool "PCISA LX-800-R10"
|
||||
config BOARD_IEI_PM_LX_800_R11
|
||||
bool "PM LX-800-R11"
|
||||
config BOARD_IEI_PM_LX2_800_R10
|
||||
bool "PM LX2-800-R10"
|
||||
source "src/mainboard/iei/*/Kconfig.name"
|
||||
|
||||
endchoice
|
||||
|
||||
source "src/mainboard/iei/kino-780am2-fam10/Kconfig"
|
||||
source "src/mainboard/iei/pcisa-lx-800-r10/Kconfig"
|
||||
source "src/mainboard/iei/pm-lx-800-r11/Kconfig"
|
||||
source "src/mainboard/iei/pm-lx2-800-r10/Kconfig"
|
||||
source "src/mainboard/iei/*/Kconfig"
|
||||
|
||||
config MAINBOARD_VENDOR
|
||||
string
|
||||
|
2
src/mainboard/iei/Kconfig.name
Normal file
2
src/mainboard/iei/Kconfig.name
Normal file
@@ -0,0 +1,2 @@
|
||||
config VENDOR_IEI
|
||||
bool "IEI"
|
2
src/mainboard/iei/kino-780am2-fam10/Kconfig.name
Normal file
2
src/mainboard/iei/kino-780am2-fam10/Kconfig.name
Normal file
@@ -0,0 +1,2 @@
|
||||
config BOARD_IEI_KINO_FAM10
|
||||
bool "Kino-780AM2(Fam10)"
|
2
src/mainboard/iei/pcisa-lx-800-r10/Kconfig.name
Normal file
2
src/mainboard/iei/pcisa-lx-800-r10/Kconfig.name
Normal file
@@ -0,0 +1,2 @@
|
||||
config BOARD_IEI_PCISA_LX_800_R10
|
||||
bool "PCISA LX-800-R10"
|
2
src/mainboard/iei/pm-lx-800-r11/Kconfig.name
Normal file
2
src/mainboard/iei/pm-lx-800-r11/Kconfig.name
Normal file
@@ -0,0 +1,2 @@
|
||||
config BOARD_IEI_PM_LX_800_R11
|
||||
bool "PM LX-800-R11"
|
2
src/mainboard/iei/pm-lx2-800-r10/Kconfig.name
Normal file
2
src/mainboard/iei/pm-lx2-800-r10/Kconfig.name
Normal file
@@ -0,0 +1,2 @@
|
||||
config BOARD_IEI_PM_LX2_800_R10
|
||||
bool "PM LX2-800-R10"
|
Reference in New Issue
Block a user