From 139e1067b696dd205feddc552334ab8d6ab6d23b Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 3 Apr 2015 20:11:13 +0200 Subject: 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 Change-Id: Ib68ce1478a2e12562aeac6297128a21eb174d58a Reviewed-on: http://review.coreboot.org/9295 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/mainboard/hp/Kconfig | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) (limited to 'src/mainboard/hp/Kconfig') 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 -- cgit v1.2.3