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 799a682..b3ed337 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 799a682..b3ed337 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 799a682..b3ed337 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 799a682..b3ed337 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 799a682..b3ed337 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 7271774..beb4651 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 c0cb9ff..7d1fc44 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 c0cb9ff..7d1fc44 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 7c023d1..0adae73 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 c0cb9ff..7d1fc44 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 7f38b14..ab3ff14 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 4c811ba..4d6184e 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 4c811ba..4d6184e 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 799a682..b3ed337 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 c0cb9ff..7d1fc44 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 c0cb9ff..7d1fc44 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 c0cb9ff..7d1fc44 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 5adb6fc..358e4c1 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 4c811ba..4d6184e 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 7c023d1..0adae73 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 799a682..b3ed337 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 c0cb9ff..7d1fc44 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 -- 2.7.4