From: Mike Frysinger Date: Thu, 23 Feb 2012 10:05:00 -0500 Subject: [U-Boot] [PATCH v3 4/6] armv7: Use -march=armv7-a and thereby enable Thumb-2 In-Reply-To: <1330005966-1444-4-git-send-email-aneesh@ti.com> References: <1328528248-20872-1-git-send-email-aneesh@ti.com> <1330005966-1444-4-git-send-email-aneesh@ti.com> Message-ID: <201202231005.01712.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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) -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: