From: Gerd Hoffmann Date: Mon, 29 Oct 2012 10:28:32 +0000 (+0100) Subject: config: add coreboot / qemu choice X-Git-Tag: rel-1.7.2~50 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=9600c800ac2a6b34a9993d99e7d3d4f7301e9265;p=seabios.git config: add coreboot / qemu choice Makes the config less confusing as we don't have to use "!COREBOOT" if we wanna say "QEMU". Signed-off-by: Gerd Hoffmann --- diff --git a/src/Kconfig b/src/Kconfig index b5dd63b..ee6fdb6 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -4,14 +4,24 @@ mainmenu "SeaBIOS Configuration" menu "General Features" +choice + prompt "Build Target" + default QEMU + config COREBOOT bool "Build for coreboot" - default n help Configure as a coreboot payload. + config QEMU + bool "Build for QEMU" + help + Configure as QEMU bios. + +endchoice + config XEN - depends on !COREBOOT + depends on QEMU bool "Build for Xen HVM" default y help @@ -108,25 +118,25 @@ menu "Hardware support" help Support for AHCI disk code. config VIRTIO_BLK - depends on DRIVES && !COREBOOT + depends on DRIVES && QEMU bool "virtio-blk controllers" default y help Support boot from virtio-blk storage. config VIRTIO_SCSI - depends on DRIVES && !COREBOOT + depends on DRIVES && QEMU bool "virtio-scsi controllers" default y help Support boot from virtio-scsi storage. config ESP_SCSI - depends on DRIVES && !COREBOOT + depends on DRIVES && QEMU bool "AMD PCscsi controllers" default y help Support boot from AMD PCscsi storage. config LSI_SCSI - depends on DRIVES && !COREBOOT + depends on DRIVES && QEMU bool "lsi53c895a scsi controllers" default y help @@ -211,19 +221,19 @@ menu "Hardware support" Support parallel ports. This also enables int 17 parallel port calls. config USE_SMM - depends on !COREBOOT + depends on QEMU bool "System Management Mode (SMM)" default y help Support System Management Mode (on emulators). config MTRR_INIT - depends on !COREBOOT + depends on QEMU bool "Initialize MTRRs" default y help Initialize the Memory Type Range Registers (on emulators). config PMTIMER - depends on !COREBOOT + depends on QEMU bool "Use ACPI timer" default y help @@ -327,7 +337,7 @@ menu "BIOS interfaces" endmenu menu "BIOS Tables" - depends on !COREBOOT + depends on QEMU config PIRTABLE bool "PIR table" default y @@ -377,7 +387,7 @@ menu "Debugging" Base port for serial - generally 0x3f8, 0x2f8, 0x3e8, or 0x2e8. config DEBUG_IO - depends on !COREBOOT && DEBUG_LEVEL != 0 + depends on QEMU && DEBUG_LEVEL != 0 bool "Special IO port debugging" default y help