Skip to content

Commit

Permalink
init/Kconfig: rework help of CONFIG_CC_OPTIMIZE_FOR_SIZE
Browse files Browse the repository at this point in the history
CONFIG_CC_OPTIMIZE_FOR_SIZE was originally an independent boolean
option, but commit 877417e ("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 <[email protected]>
  • Loading branch information
masahir0y committed Aug 28, 2019
1 parent d20558d commit ce3b487
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ce3b487

Please sign in to comment.