Add three new options:

- EXPERIMENTAL - enable experimental/incomplete code/boards
 - EXPERT - enable expert/developer options
 - LOCALVERSION - set a string to append to the LinuxBIOS version

Mark BOARD_EMULATION_QEMU_POWERPC and CONSOLE_USB as experimental for now.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>



git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@184 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Stefan Reinauer 2007-03-04 23:47:47 +00:00
commit 2bf728bfe0
4 changed files with 36 additions and 3 deletions

27
Kconfig
View file

@ -5,6 +5,33 @@
mainmenu "LinuxBIOS Configuration"
menu "General setup"
config EXPERIMENTAL
bool "Prompt for development and/or incomplete code/mainboards"
---help---
Enable this option if you want to test development features or
incomplete/unsupported mainboards.
We do not make any guarantees about anything that is marked
as EXPERIMENTAL! You have been warned!
config EXPERT
bool "Expert mode"
---help---
This allows you to select certain advanced configuration options.
It is mainly intended for LinuxBIOS developers.
Warning: Only enable this option if you really know what you're
doing! You have been warned!
config LOCALVERSION
string "Local version - append to LinuxBIOS release"
help
Append an extra string to the end of the LinuxBIOS version.
endmenu
source mainboard/Kconfig
source arch/Kconfig
source lib/Kconfig

View file

@ -32,6 +32,11 @@ ARCH := $(shell uname -m | sed -e s/i.86/x86/ -e s/sun4u/sparc64/ \
KERNELVERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)
# TODO: Check whether this really works!
ifdef $(CONFIG_LOCALVERSION)
KERNELVERSION = "$(KERNELVERSION)-$(CONFIG_LOCALVERSION)"
endif
have_dotconfig := $(wildcard .config)
src:=$(shell pwd)

View file

@ -135,8 +135,8 @@ config CONSOLE_VGA
Send LinuxBIOS output to VGA console as soon as VGA is initialized.
config CONSOLE_USB
boolean "USB2 console support"
depends CONSOLE
boolean "USB2 console support (EXPERIMENTAL)"
depends CONSOLE && EXPERIMENTAL
help
Send LinuxBIOS output to USB2 (EHCI) console.

View file

@ -10,7 +10,8 @@ config BOARD_EMULATION_QEMU_X86
x86 QEMU variant.
config BOARD_EMULATION_QEMU_POWERPC
bool "PowerPC QEMU"
bool "PowerPC QEMU (EXPERIMENTAL)"
depends on EXPERIMENTAL
select ARCH_POWERPC
help
PowerPC QEMU variant.