From 45263ec4c06fd8f1201df0bc7a8ab37a639a41f3 Mon Sep 17 00:00:00 2001 From: Jason Jin Date: Thu, 18 Aug 2011 14:41:14 +0800 Subject: ColdFire: Update compile flags for each CPUs Remove compiler version check for gcc 4.1 in config.mk. Signed-off-by: TsiChung Liew Signed-off-by: Jason Jin --- arch/m68k/cpu/mcf532x/config.mk | 6 ------ 1 file changed, 6 deletions(-) (limited to 'arch/m68k/cpu/mcf532x/config.mk') diff --git a/arch/m68k/cpu/mcf532x/config.mk b/arch/m68k/cpu/mcf532x/config.mk index b783444ae8..cd6466a73b 100644 --- a/arch/m68k/cpu/mcf532x/config.mk +++ b/arch/m68k/cpu/mcf532x/config.mk @@ -29,15 +29,9 @@ cfg=$(shell grep configs $(OBJTREE)/include/config.h | sed 's/.*<\(configs.*\)>/ is5301x:=$(shell grep CONFIG_MCF5301x $(TOPDIR)/include/$(cfg)) is532x:=$(shell grep CONFIG_MCF532x $(TOPDIR)/include/$(cfg)) -ifneq ($(findstring 4.1,$(shell $(CC) --version)),4.1) - ifneq (,$(findstring CONFIG_MCF5301x,$(is5301x))) PLATFORM_CPPFLAGS += -mcpu=53015 -fPIC endif ifneq (,$(findstring CONFIG_MCF532x,$(is532x))) PLATFORM_CPPFLAGS += -mcpu=5329 -fPIC endif - -else -PLATFORM_CPPFLAGS += -m5307 -fPIC -endif -- cgit v1.2.3