summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-06-12 11:54:49 +0100
committerMark Brown <broonie@kernel.org>2018-06-12 11:54:49 +0100
commit8f7baa5b635e355a7d0b7e8d40953586e6b46862 (patch)
treed174ba98fbda8f839b4e293faa46c3fd97d2044f /init
parent3d5962249d52f8f5454cf9fab288a507cc3d3d07 (diff)
parent6a7e8a0fcb9091a7a1a66c2dd7cfbbb930cd41db (diff)
Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-android
Diffstat (limited to 'init')
-rw-r--r--init/Kconfig13
1 files changed, 13 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index a35e73a4e55d..b72e83288f66 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1382,6 +1382,17 @@ source "usr/Kconfig"
endif
+choice
+ prompt "Compiler optimization level"
+ default CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
+
+config CC_OPTIMIZE_FOR_PERFORMANCE
+ bool "Optimize for performance"
+ help
+ This is the default optimization level for the kernel, building
+ with the "-O2" compiler flag for best performance and most
+ helpful compile-time warnings.
+
config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size"
help
@@ -1390,6 +1401,8 @@ config CC_OPTIMIZE_FOR_SIZE
If unsure, say N.
+endchoice
+
config SYSCTL
bool