diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-08-22 19:42:29 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-08-28 17:18:48 -0400 |
commit | 4a8ed8e24886adf47086125f81307eaa8c358437 (patch) | |
tree | 4f3ed3773631da2b41bae0d3f5a4693435abbf3b /Kconfig | |
parent | a6f47d2434f27e7c98dde811436912f0dd63a53e (diff) |
kconfig: add CONFIG_CC_OPTIMIZE_FOR_SIZE
Copy the Kconfig option from "init/Kconfig" of Linux v3.16 tag
and adjust the help document.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'Kconfig')
-rw-r--r-- | Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -46,6 +46,16 @@ config LOCALVERSION_AUTO which is done within the script "scripts/setlocalversion".) +config CC_OPTIMIZE_FOR_SIZE + bool "Optimize for size" + depends on !SPL_BUILD + default y + help + Enabling this option will pass "-Os" instead of "-O2" to gcc + resulting in a smaller U-Boot image. + + This option is enabled by default for U-Boot. + endmenu # General setup menu "Boot images" |