[U-Boot] [PATCH v3 4/6] armv7: Use -march=armv7-a and thereby enable Thumb-2
Aneesh V
aneesh at ti.com
Thu Feb 23 18:50:47 CET 2012
On Thursday 23 February 2012 08:35 PM, Mike Frysinger wrote:
> On Thursday 23 February 2012 09:06:04 Aneesh V wrote:
>> --- a/arch/arm/cpu/armv7/config.mk
>> +++ b/arch/arm/cpu/armv7/config.mk
>>
>> -# Make ARMv5 to allow more compilers to work, even though its v7a.
>> -PLATFORM_CPPFLAGS += -march=armv5
>> +# If armv7-a is not supported by GCC fall-back to armv5, which is
>> +# supported by more tool-chains
>> +PLATFORM_CPPFLAGS += $(call cc-option, -march=armv7-a, -march=armv5)
>
> NAK: you need to use ":=" before "+=":
> PF_CPPFLAGS_MARCH := $(call cc-option, -march=armv7-a, -march=armv5)
> PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_MARCH)
Will do.
br,
Aneesh
More information about the U-Boot
mailing list