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 ++------------------- src/mainboard/hp/Kconfig.name | 2 ++ src/mainboard/hp/abm/Kconfig.name | 2 ++ src/mainboard/hp/dl145_g1/Kconfig.name | 2 ++ src/mainboard/hp/dl145_g3/Kconfig.name | 2 ++ src/mainboard/hp/dl165_g6_fam10/Kconfig.name | 2 ++ src/mainboard/hp/e_vectra_p2706t/Kconfig.name | 2 ++ src/mainboard/hp/pavilion_m6_1035dx/Kconfig.name | 2 ++ 8 files changed, 16 insertions(+), 19 deletions(-) create mode 100644 src/mainboard/hp/Kconfig.name create mode 100644 src/mainboard/hp/abm/Kconfig.name create mode 100644 src/mainboard/hp/dl145_g1/Kconfig.name create mode 100644 src/mainboard/hp/dl145_g3/Kconfig.name create mode 100644 src/mainboard/hp/dl165_g6_fam10/Kconfig.name create mode 100644 src/mainboard/hp/e_vectra_p2706t/Kconfig.name create mode 100644 src/mainboard/hp/pavilion_m6_1035dx/Kconfig.name (limited to 'src/mainboard/hp') 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 diff --git a/src/mainboard/hp/Kconfig.name b/src/mainboard/hp/Kconfig.name new file mode 100644 index 0000000000..09398e220f --- /dev/null +++ b/src/mainboard/hp/Kconfig.name @@ -0,0 +1,2 @@ +config VENDOR_HP + bool "HP" diff --git a/src/mainboard/hp/abm/Kconfig.name b/src/mainboard/hp/abm/Kconfig.name new file mode 100644 index 0000000000..4ace57323d --- /dev/null +++ b/src/mainboard/hp/abm/Kconfig.name @@ -0,0 +1,2 @@ +config BOARD_HP_ABM + bool "ABM" diff --git a/src/mainboard/hp/dl145_g1/Kconfig.name b/src/mainboard/hp/dl145_g1/Kconfig.name new file mode 100644 index 0000000000..2840287608 --- /dev/null +++ b/src/mainboard/hp/dl145_g1/Kconfig.name @@ -0,0 +1,2 @@ +config BOARD_HP_DL145_G1 + bool "ProLiant DL145 G1" diff --git a/src/mainboard/hp/dl145_g3/Kconfig.name b/src/mainboard/hp/dl145_g3/Kconfig.name new file mode 100644 index 0000000000..ebbc20fb94 --- /dev/null +++ b/src/mainboard/hp/dl145_g3/Kconfig.name @@ -0,0 +1,2 @@ +config BOARD_HP_DL145_G3 + bool "ProLiant DL145 G3" diff --git a/src/mainboard/hp/dl165_g6_fam10/Kconfig.name b/src/mainboard/hp/dl165_g6_fam10/Kconfig.name new file mode 100644 index 0000000000..ceb6e86b14 --- /dev/null +++ b/src/mainboard/hp/dl165_g6_fam10/Kconfig.name @@ -0,0 +1,2 @@ +config BOARD_HP_DL165_G6_FAM10 + bool "ProLiant DL165 G6 Fam10" diff --git a/src/mainboard/hp/e_vectra_p2706t/Kconfig.name b/src/mainboard/hp/e_vectra_p2706t/Kconfig.name new file mode 100644 index 0000000000..f37ab1ef0c --- /dev/null +++ b/src/mainboard/hp/e_vectra_p2706t/Kconfig.name @@ -0,0 +1,2 @@ +config BOARD_HP_E_VECTRA_P2706T + bool "e-Vectra P2706T" diff --git a/src/mainboard/hp/pavilion_m6_1035dx/Kconfig.name b/src/mainboard/hp/pavilion_m6_1035dx/Kconfig.name new file mode 100644 index 0000000000..a736970395 --- /dev/null +++ b/src/mainboard/hp/pavilion_m6_1035dx/Kconfig.name @@ -0,0 +1,2 @@ +config BOARD_HP_PAVILION_M6_1035DX + bool "Pavilion m6 1035dx" -- cgit v1.2.3