summaryrefslogtreecommitdiff
path: root/src/mainboard/cubietech
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/cubietech')
-rw-r--r--src/mainboard/cubietech/Kconfig5
-rw-r--r--src/mainboard/cubietech/Kconfig.name2
-rw-r--r--src/mainboard/cubietech/cubieboard/Kconfig.name2
3 files changed, 6 insertions, 3 deletions
diff --git a/src/mainboard/cubietech/Kconfig b/src/mainboard/cubietech/Kconfig
index 840ee85147..c0e9cc1357 100644
--- a/src/mainboard/cubietech/Kconfig
+++ b/src/mainboard/cubietech/Kconfig
@@ -4,12 +4,11 @@ if VENDOR_CUBIETECH
choice
prompt "Mainboard model"
-config BOARD_CUBIETECH_CUBIEBOARD
- bool "Cubieboard"
+source "src/mainboard/cubietech/*/Kconfig.name"
endchoice
-source "src/mainboard/cubietech/cubieboard/Kconfig"
+source "src/mainboard/cubietech/*/Kconfig"
config MAINBOARD_VENDOR
string
diff --git a/src/mainboard/cubietech/Kconfig.name b/src/mainboard/cubietech/Kconfig.name
new file mode 100644
index 0000000000..0ebc0885be
--- /dev/null
+++ b/src/mainboard/cubietech/Kconfig.name
@@ -0,0 +1,2 @@
+config VENDOR_CUBIETECH
+ bool "Cubietech"
diff --git a/src/mainboard/cubietech/cubieboard/Kconfig.name b/src/mainboard/cubietech/cubieboard/Kconfig.name
new file mode 100644
index 0000000000..3a011819b4
--- /dev/null
+++ b/src/mainboard/cubietech/cubieboard/Kconfig.name
@@ -0,0 +1,2 @@
+config BOARD_CUBIETECH_CUBIEBOARD
+ bool "Cubieboard"