Make all Kconfig enabled boards build (tested with kbuildall).
Also enable building individual boards with kbuildall for
debugging.
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4666 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
diff --git a/src/mainboard/emulation/Kconfig b/src/mainboard/emulation/Kconfig
index 023adff..c2ecc2b 100644
--- a/src/mainboard/emulation/Kconfig
+++ b/src/mainboard/emulation/Kconfig
@@ -2,24 +2,6 @@
prompt "Mainboard model"
depends on VENDOR_EMULATION
-config BOARD_EMULATION_QEMU_X86
- bool "QEMU x86"
- select ARCH_X86
- select CPU_I586
- select SOUTHBRIDGE_INTEL_I82371EB
- select CPU_EMULATION_QEMU_X86
- select CONSOLE_SERIAL8250
- help
- x86 QEMU variant.
+source "src/mainboard/emulation/qemu-x86/Kconfig"
endchoice
-
-config MAINBOARD_DIR
- string
- default emulation/qemu-x86
- depends on BOARD_EMULATION_QEMU_X86
-
-config MAINBOARD_PART_NUMBER
- string
- default "QEMU-86"
- depends on BOARD_EMULATION_QEMU_X86
diff --git a/src/mainboard/emulation/qemu-x86/Kconfig b/src/mainboard/emulation/qemu-x86/Kconfig
new file mode 100644
index 0000000..8649bd8
--- /dev/null
+++ b/src/mainboard/emulation/qemu-x86/Kconfig
@@ -0,0 +1,19 @@
+config BOARD_EMULATION_QEMU_X86
+ bool "QEMU x86"
+ select ARCH_X86
+ select CPU_I586
+ select SOUTHBRIDGE_INTEL_I82371EB
+ select CPU_EMULATION_QEMU_X86
+ select CONSOLE_SERIAL8250
+ help
+ x86 QEMU variant.
+
+config MAINBOARD_DIR
+ string
+ default emulation/qemu-x86
+ depends on BOARD_EMULATION_QEMU_X86
+
+config MAINBOARD_PART_NUMBER
+ string
+ default "QEMU-86"
+ depends on BOARD_EMULATION_QEMU_X86