From 9ae55ccf601de7a5b75eb418f3fc3d5eca92c106 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 14 Jun 2009 22:26:31 -0400 Subject: Blackfin: enable -O2 in lib_generic/ for ADI/Bluetechnix boards Building the compression code in lib_generic/ with -O2 rather than -Os gives a nice speed boost without too much code size increase. Signed-off-by: Mike Frysinger --- board/bf537-stamp/config.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'board/bf537-stamp') diff --git a/board/bf537-stamp/config.mk b/board/bf537-stamp/config.mk index d9e884e0e1..bc14257489 100644 --- a/board/bf537-stamp/config.mk +++ b/board/bf537-stamp/config.mk @@ -26,6 +26,9 @@ # This is not actually used for Blackfin boards so do not change it #TEXT_BASE = do-not-use-me +CFLAGS_lib_generic += -O2 +CFLAGS_lzma += -O2 + # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 LDR_FLAGS-BFIN_BOOT_UART := --port g --gpio 6 -- cgit