aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-21 02:09:39 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2019-08-29 01:39:35 +0900
commitce3b487f60189c56a4c3340ab7504971dac97338 (patch)
treec8c0e120b18673bbd4e9055778a4f4446af1ec45
parentdocs: kbuild: remove cc-ldoption from document again (diff)
downloadlinux-dev-ce3b487f60189c56a4c3340ab7504971dac97338.tar.xz
linux-dev-ce3b487f60189c56a4c3340ab7504971dac97338.zip
init/Kconfig: rework help of CONFIG_CC_OPTIMIZE_FOR_SIZE
CONFIG_CC_OPTIMIZE_FOR_SIZE was originally an independent boolean option, but commit 877417e6ffb9 ("Kbuild: change CC_OPTIMIZE_FOR_SIZE definition") turned it into a choice between _PERFORMANCE and _SIZE. The phrase "If unsure, say N." sounds like an independent option. Reword the help text to make it appropriate for the choice menu. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--init/Kconfig6
1 files changed, 2 insertions, 4 deletions
diff --git a/init/Kconfig b/init/Kconfig
index bf971b5c707d..149efd82447f 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1219,10 +1219,8 @@ config CC_OPTIMIZE_FOR_SIZE
bool "Optimize for size"
imply CC_DISABLE_WARN_MAYBE_UNINITIALIZED # avoid false positives
help
- Enabling this option will pass "-Os" instead of "-O2" to
- your compiler resulting in a smaller kernel.
-
- If unsure, say N.
+ Choosing this option will pass "-Os" to your compiler resulting
+ in a smaller kernel.
endchoice