[U-Boot] Bug in mcf547x_8x/config.mk

Groleo Marius groleo at gmail.com
Thu Aug 12 11:11:06 CEST 2010


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


More information about the U-Boot mailing list