From: Mike Frysinger Date: Mon, 16 May 2011 18:25:42 +0000 (-0400) Subject: Blackfin: boards: build zlib dir with -O2 X-Git-Tag: v2011.06-rc3~27 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=acf04b3059ec89b0b1132d8bf8cc28be18325b00;p=u-boot Blackfin: boards: build zlib dir with -O2 Now that the zlib code has been relocated to a dedicated subdir, make sure we still build it with -O2 for boards that want speed over size. Signed-off-by: Mike Frysinger --- diff --git a/board/bct-brettl2/config.mk b/board/bct-brettl2/config.mk index 799a6828ac..b3ed337887 100644 --- a/board/bct-brettl2/config.mk +++ b/board/bct-brettl2/config.mk @@ -25,3 +25,4 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 diff --git a/board/bf518f-ezbrd/config.mk b/board/bf518f-ezbrd/config.mk index 799a6828ac..b3ed337887 100644 --- a/board/bf518f-ezbrd/config.mk +++ b/board/bf518f-ezbrd/config.mk @@ -25,3 +25,4 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 diff --git a/board/bf526-ezbrd/config.mk b/board/bf526-ezbrd/config.mk index 799a6828ac..b3ed337887 100644 --- a/board/bf526-ezbrd/config.mk +++ b/board/bf526-ezbrd/config.mk @@ -25,3 +25,4 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 diff --git a/board/bf527-ad7160-eval/config.mk b/board/bf527-ad7160-eval/config.mk index 799a6828ac..b3ed337887 100644 --- a/board/bf527-ad7160-eval/config.mk +++ b/board/bf527-ad7160-eval/config.mk @@ -25,3 +25,4 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 diff --git a/board/bf527-ezkit/config.mk b/board/bf527-ezkit/config.mk index 799a6828ac..b3ed337887 100644 --- a/board/bf527-ezkit/config.mk +++ b/board/bf527-ezkit/config.mk @@ -25,3 +25,4 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 diff --git a/board/bf527-sdp/config.mk b/board/bf527-sdp/config.mk index 727177402f..beb4651b68 100644 --- a/board/bf527-sdp/config.mk +++ b/board/bf527-sdp/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 6 diff --git a/board/bf533-ezkit/config.mk b/board/bf533-ezkit/config.mk index c0cb9ffc41..7d1fc447dc 100644 --- a/board/bf533-ezkit/config.mk +++ b/board/bf533-ezkit/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/bf533-stamp/config.mk b/board/bf533-stamp/config.mk index c0cb9ffc41..7d1fc447dc 100644 --- a/board/bf533-stamp/config.mk +++ b/board/bf533-stamp/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/bf537-stamp/config.mk b/board/bf537-stamp/config.mk index 7c023d1fea..0adae7343b 100644 --- a/board/bf537-stamp/config.mk +++ b/board/bf537-stamp/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/bf538f-ezkit/config.mk b/board/bf538f-ezkit/config.mk index c0cb9ffc41..7d1fc447dc 100644 --- a/board/bf538f-ezkit/config.mk +++ b/board/bf538f-ezkit/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/bf548-ezkit/config.mk b/board/bf548-ezkit/config.mk index 7f38b1469d..ab3ff140aa 100644 --- a/board/bf548-ezkit/config.mk +++ b/board/bf548-ezkit/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --dma 6 diff --git a/board/bf561-acvilon/config.mk b/board/bf561-acvilon/config.mk index 4c811ba359..4d6184ed44 100644 --- a/board/bf561-acvilon/config.mk +++ b/board/bf561-acvilon/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 diff --git a/board/bf561-ezkit/config.mk b/board/bf561-ezkit/config.mk index 4c811ba359..4d6184ed44 100644 --- a/board/bf561-ezkit/config.mk +++ b/board/bf561-ezkit/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 diff --git a/board/cm-bf527/config.mk b/board/cm-bf527/config.mk index 799a6828ac..b3ed337887 100644 --- a/board/cm-bf527/config.mk +++ b/board/cm-bf527/config.mk @@ -25,3 +25,4 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 diff --git a/board/cm-bf533/config.mk b/board/cm-bf533/config.mk index c0cb9ffc41..7d1fc447dc 100644 --- a/board/cm-bf533/config.mk +++ b/board/cm-bf533/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/cm-bf537e/config.mk b/board/cm-bf537e/config.mk index c0cb9ffc41..7d1fc447dc 100644 --- a/board/cm-bf537e/config.mk +++ b/board/cm-bf537e/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/cm-bf537u/config.mk b/board/cm-bf537u/config.mk index c0cb9ffc41..7d1fc447dc 100644 --- a/board/cm-bf537u/config.mk +++ b/board/cm-bf537u/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/cm-bf548/config.mk b/board/cm-bf548/config.mk index 5adb6fc163..358e4c132e 100644 --- a/board/cm-bf548/config.mk +++ b/board/cm-bf548/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --dma 6 diff --git a/board/cm-bf561/config.mk b/board/cm-bf561/config.mk index 4c811ba359..4d6184ed44 100644 --- a/board/cm-bf561/config.mk +++ b/board/cm-bf561/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 diff --git a/board/ip04/config.mk b/board/ip04/config.mk index 7c023d1fea..0adae7343b 100644 --- a/board/ip04/config.mk +++ b/board/ip04/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8 diff --git a/board/tcm-bf518/config.mk b/board/tcm-bf518/config.mk index 799a6828ac..b3ed337887 100644 --- a/board/tcm-bf518/config.mk +++ b/board/tcm-bf518/config.mk @@ -25,3 +25,4 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 diff --git a/board/tcm-bf537/config.mk b/board/tcm-bf537/config.mk index c0cb9ffc41..7d1fc447dc 100644 --- a/board/tcm-bf537/config.mk +++ b/board/tcm-bf537/config.mk @@ -25,6 +25,7 @@ CFLAGS_lib += -O2 CFLAGS_lib/lzma += -O2 +CFLAGS_lib/zlib += -O2 # Set some default LDR flags based on boot mode. LDR_FLAGS-BFIN_BOOT_PARA := --bits 16 --dma 8