Merge commit 'u-boot/master' into for-1.3.1
[platform/kernel/u-boot.git] / cpu / mcf5445x / config.mk
index d0c72fb..88433f2 100644 (file)
@@ -24,4 +24,8 @@
 #
 
 PLATFORM_RELFLAGS += -ffixed-d7 -msep-data
+ifeq ($(findstring 4.2,$(shell $(CC) --version)),4.2)
+PLATFORM_CPPFLAGS += -mcpu=54455 -fPIC
+else
 PLATFORM_CPPFLAGS += -m5407 -fPIC
+endif