1#
2# For a description of the syntax of this configuration file,
3# see docs/misc/kconfig-language.txt
4#
5mainmenu "Xen/$(SRCARCH) $(XEN_FULLVERSION) Configuration"
6
7source "scripts/Kconfig.include"
8
9config BROKEN
10	bool
11
12config CC_IS_GCC
13	def_bool $(success,$(CC) --version | head -n 1 | grep -q gcc)
14
15config GCC_VERSION
16	int
17	default $(shell,$(BASEDIR)/scripts/gcc-version.sh $(CC))
18
19config CC_IS_CLANG
20	def_bool $(success,$(CC) --version | head -n 1 | grep -q clang)
21
22config CLANG_VERSION
23	int
24	default $(shell,$(BASEDIR)/scripts/clang-version.sh $(CC))
25
26# -fvisibility=hidden reduces -fpic cost, if it's available
27config CC_HAS_VISIBILITY_ATTRIBUTE
28	def_bool $(cc-option,-fvisibility=hidden)
29
30source "arch/$(SRCARCH)/Kconfig"
31
32config DEFCONFIG_LIST
33	string
34	option defconfig_list
35	default ARCH_DEFCONFIG
36
37config EXPERT
38	bool "Configure standard Xen features (expert users)"
39	help
40	  This option allows certain base Xen options and settings
41	  to be disabled or tweaked. This is for specialized environments
42	  which can tolerate a "non-standard" Xen.
43	  Only use this if you really know what you are doing.
44	  Xen binaries built with this option enabled are not security
45	  supported.
46	default n
47
48config LTO
49	bool "Link Time Optimisation"
50	depends on BROKEN
51	---help---
52	  Enable Link Time Optimisation.
53
54	  If unsure, say N.
55
56#
57# For architectures that know their compiler __int128 support is sound
58#
59config ARCH_SUPPORTS_INT128
60	bool
61
62source "Kconfig.debug"
63