From b0928da648d440778512ddd81e690717239b8f1f Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Tue, 16 Sep 2014 16:32:59 +0900 Subject: 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 Acked-by: Simon Glass Tested-by: Simon Glass --- lib/Kconfig | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/Kconfig') diff --git a/lib/Kconfig b/lib/Kconfig index 9724eb88cb..88e5da72ec 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 -- cgit v1.2.1