diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-09-16 16:32:59 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-09-24 18:30:28 -0400 |
commit | b0928da648d440778512ddd81e690717239b8f1f (patch) | |
tree | 5365b3e864404e2de318a6f0768726d0566936e2 /lib | |
parent | ed36323f6d217050f82a2200475959b8557a47e4 (diff) |
kconfig: move CONFIG_CC_OPTIMIZE_LIBS_FOR_SPEED to Kconfig
If this option is enabled, the objects under lib/ directory
are compiled with speed optimization, not size optimization.
(Currently, only used by some Blackfin boards.)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 9724eb88cb0..88e5da72ecc 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1,3 +1,11 @@ menu "Library routines" +config CC_OPTIMIZE_LIBS_FOR_SPEED + bool "Optimize libraries for speed" + help + Enabling this option will pass "-O2" to gcc when compiling + under "lib" directory. + + If unsure, say N. + endmenu |