|
@@ -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
|
|
|
|