From 2bf728bfe0a5e93a40473d8a1f7982d637586176 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Sun, 4 Mar 2007 23:47:47 +0000 Subject: [PATCH] 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 Acked-by: Stefan Reinauer git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@184 f3766cd6-281f-0410-b1cd-43a5c92072e9 --- Kconfig | 27 +++++++++++++++++++++++++++ Makefile | 5 +++++ console/Kconfig | 4 ++-- mainboard/emulation/Kconfig | 3 ++- 4 files changed, 36 insertions(+), 3 deletions(-) diff --git a/Kconfig b/Kconfig index 1b9b9b15b1..8c70e9ac6a 100644 --- a/Kconfig +++ b/Kconfig @@ -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 diff --git a/Makefile b/Makefile index cf9f184273..fdaafd80d8 100644 --- a/Makefile +++ b/Makefile @@ -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) diff --git a/console/Kconfig b/console/Kconfig index 4aaea0e06e..0dcaf60c5e 100644 --- a/console/Kconfig +++ b/console/Kconfig @@ -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. diff --git a/mainboard/emulation/Kconfig b/mainboard/emulation/Kconfig index 93a7107a05..0ff172f667 100644 --- a/mainboard/emulation/Kconfig +++ b/mainboard/emulation/Kconfig @@ -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.