Kbuild: change CC_OPTIMIZE_FOR_SIZE definition
[deliverable/linux.git] / init / Kconfig
index 29d74d3f804444a11356c003d34b946fdcb3b585..f224dae6e37d69b3a0935e063ee01c88c9b486ec 100644 (file)
@@ -1283,6 +1283,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
@@ -1291,6 +1302,8 @@ config CC_OPTIMIZE_FOR_SIZE
 
          If unsure, say N.
 
+endchoice
+
 config SYSCTL
        bool
 
This page took 0.025388 seconds and 5 git commands to generate.