summaryrefslogtreecommitdiff
path: root/src/mainboard/hp/Kconfig
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-03 20:11:13 +0200
committerStefan Reinauer <stefan.reinauer@coreboot.org>2015-04-18 08:31:08 +0200
commit139e1067b696dd205feddc552334ab8d6ab6d23b (patch)
treeb669700ac56dadcceacbb44b7b792d6ad1123eab /src/mainboard/hp/Kconfig
parente5d5942e153a54e192644300e8dd94d53bdc2583 (diff)
downloadcoreboot-139e1067b696dd205feddc552334ab8d6ab6d23b.tar.xz
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>
Diffstat (limited to 'src/mainboard/hp/Kconfig')
-rw-r--r--src/mainboard/hp/Kconfig21
1 files changed, 2 insertions, 19 deletions
diff --git a/src/mainboard/hp/Kconfig b/src/mainboard/hp/Kconfig
index 3efd1dd29d..9d768ae647 100644
--- a/src/mainboard/hp/Kconfig
+++ b/src/mainboard/hp/Kconfig
@@ -3,28 +3,11 @@ if VENDOR_HP
choice
prompt "Mainboard model"
-config BOARD_HP_ABM
- bool "ABM"
-config BOARD_HP_DL145_G1
- bool "ProLiant DL145 G1"
-config BOARD_HP_DL145_G3
- bool "ProLiant DL145 G3"
-config BOARD_HP_DL165_G6_FAM10
- bool "ProLiant DL165 G6 Fam10"
-config BOARD_HP_E_VECTRA_P2706T
- bool "e-Vectra P2706T"
-config BOARD_HP_PAVILION_M6_1035DX
- bool "Pavilion m6 1035dx"
-
+source "src/mainboard/hp/*/Kconfig.name"
endchoice
-source "src/mainboard/hp/abm/Kconfig"
-source "src/mainboard/hp/dl145_g1/Kconfig"
-source "src/mainboard/hp/dl145_g3/Kconfig"
-source "src/mainboard/hp/dl165_g6_fam10/Kconfig"
-source "src/mainboard/hp/e_vectra_p2706t/Kconfig"
-source "src/mainboard/hp/pavilion_m6_1035dx/Kconfig"
+source "src/mainboard/hp/*/Kconfig"
config MAINBOARD_VENDOR
string