summaryrefslogtreecommitdiff
path: root/cpu/mcf5445x/config.mk
diff options
context:
space:
mode:
authorTsiChung Liew <Tsi-Chung.Liew@freescale.com>2009-01-27 15:19:35 +0000
committerJohn Rigby <jrigby@freescale.com>2009-03-17 15:58:37 -0600
commit42b68af1062f75bb4a91cf47e329a7e8100cd815 (patch)
tree3513aba0c295954644b91368d6d8cc7bc81c84b5 /cpu/mcf5445x/config.mk
parentd6e4baf49987fc6f75e8574c0c27301a828b3132 (diff)
downloadu-boot-imx-42b68af1062f75bb4a91cf47e329a7e8100cd815.zip
u-boot-imx-42b68af1062f75bb4a91cf47e329a7e8100cd815.tar.gz
u-boot-imx-42b68af1062f75bb4a91cf47e329a7e8100cd815.tar.bz2
ColdFire: PLATFORM_CPPFLAGS updates for new compiler
Update PLATFORM_CPPFLAGS to accept 4.3.x version of ColdFire compiler. Signed-off-by: TsiChung Liew <Tsi-Chung.Liew@freescale.com>
Diffstat (limited to 'cpu/mcf5445x/config.mk')
-rw-r--r--cpu/mcf5445x/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mcf5445x/config.mk b/cpu/mcf5445x/config.mk
index 67efa07..b0b49f7 100644
--- a/cpu/mcf5445x/config.mk
+++ b/cpu/mcf5445x/config.mk
@@ -24,7 +24,7 @@
#
PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
-ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2)
+ifneq ($(findstring 4.1,$(shell $(CC) --version)),4.1)
PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC
else
PLATFORM_CPPFLAGS += -m5407 -fPIC