
12 Aug
2010
12 Aug
'10
11:11 a.m.
Hi,
I'm not sure what is the purpose of the code below, found in u-boot-2010.06/arch/m68k/cpu/mcf547x_8x/config.mk
26 PLATFORM_RELFLAGS += -ffixed-d7 -msep-data 27 ifneq ($(findstring 4.1,$(shell $(CC) --version)),4.1) 28 PLATFORM_CPPFLAGS += -mcpu=5485 -fPIC 29 else 30 PLATFORM_CPPFLAGS += -m5407 -fPIC 31 endif
Either it filters out all 4.1.x gcc versions or all x.4.1. I tend to belive it's the first one. In this case, line 27 should be 27 ifneq ($(findstring 4.1.,$(shell $(CC) --version)),4.1.) Notice the extra dot.
--
Regards!
http://groleo.wordpress.com