]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/xen.git/commitdiff
build: env var to enable expert config options
authorJonathan Creekmore <jonathan.creekmore@gmail.com>
Mon, 18 Jan 2016 13:53:02 +0000 (14:53 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 18 Jan 2016 13:53:02 +0000 (14:53 +0100)
Add an additional environment variable, defaulting to disabled,
that enables the CONFIG_EXPERT configuration option. The purpose
of the CONFIG_EXPERT configuration option is to make non-standard
Kconfig options visible during the configuration process. The
CONFIG_EXPERT option is not, itself, visible during the Kconfig
configuration process, so typical users will never see it nor
any of the non-standard configuration options.

Signed-off-by: Jonathan Creekmore <jonathan.creekmore@gmail.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
xen/Kconfig
xen/Makefile

index ffe3f459e5157ac600a5257d78681d364f04abb0..fa8b27c853aaf8c0259c6a8e48cc47660df2fd10 100644 (file)
@@ -22,3 +22,7 @@ config DEFCONFIG_LIST
        string
        option defconfig_list
        default "$ARCH_DEFCONFIG"
+
+config EXPERT
+       string
+       option env="XEN_CONFIG_EXPERT"
index e3449d125b6854a7a3cfaaea69b8a895c11409f0..8b530c25a1d92c14ae363527897a7dcc8bc05be6 100644 (file)
@@ -11,6 +11,7 @@ export XEN_DOMAIN     ?= $(shell ([ -x /bin/dnsdomainname ] && /bin/dnsdomainname) |
 export XEN_BUILD_DATE  ?= $(shell LC_ALL=C date)
 export XEN_BUILD_TIME  ?= $(shell LC_ALL=C date +%T)
 export XEN_BUILD_HOST  ?= $(shell hostname)
+export XEN_CONFIG_EXPERT ?= n
 
 export BASEDIR := $(CURDIR)
 export XEN_ROOT := $(BASEDIR)/..