From acf04b3059ec89b0b1132d8bf8cc28be18325b00 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 16 May 2011 14:25:42 -0400 Subject: [PATCH] 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 --- board/bct-brettl2/config.mk | 1 + board/bf518f-ezbrd/config.mk | 1 + board/bf526-ezbrd/config.mk | 1 + board/bf527-ad7160-eval/config.mk | 1 + board/bf527-ezkit/config.mk | 1 + board/bf527-sdp/config.mk | 1 + board/bf533-ezkit/config.mk | 1 + board/bf533-stamp/config.mk | 1 + board/bf537-stamp/config.mk | 1 + board/bf538f-ezkit/config.mk | 1 + board/bf548-ezkit/config.mk | 1 + board/bf561-acvilon/config.mk | 1 + board/bf561-ezkit/config.mk | 1 + board/cm-bf527/config.mk | 1 + board/cm-bf533/config.mk | 1 + board/cm-bf537e/config.mk | 1 + board/cm-bf537u/config.mk | 1 + board/cm-bf548/config.mk | 1 + board/cm-bf561/config.mk | 1 + board/ip04/config.mk | 1 + board/tcm-bf518/config.mk | 1 + board/tcm-bf537/config.mk | 1 + 22 files changed, 22 insertions(+) diff --git a/board/bct-brettl2/config.mk b/board/bct-brettl2/config.mk index 799a6828ac0..b3ed3378877 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 799a6828ac0..b3ed3378877 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 799a6828ac0..b3ed3378877 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 799a6828ac0..b3ed3378877 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 799a6828ac0..b3ed3378877 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 727177402f5..beb4651b683 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 c0cb9ffc41e..7d1fc447dc2 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 c0cb9ffc41e..7d1fc447dc2 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 7c023d1fea8..0adae7343b5 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 c0cb9ffc41e..7d1fc447dc2 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 7f38b1469d4..ab3ff140aa3 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 4c811ba3590..4d6184ed449 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 4c811ba3590..4d6184ed449 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 799a6828ac0..b3ed3378877 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 c0cb9ffc41e..7d1fc447dc2 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 c0cb9ffc41e..7d1fc447dc2 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 c0cb9ffc41e..7d1fc447dc2 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 5adb6fc163d..358e4c132ee 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 4c811ba3590..4d6184ed449 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 7c023d1fea8..0adae7343b5 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 799a6828ac0..b3ed3378877 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 c0cb9ffc41e..7d1fc447dc2 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