Re: [PATCH v2 2/4] gcc-configure-common.inc: duplicate armv7a over-ride for armv7ve

Andre McCurdy
2016-01-08T01:16:34Z

On Thu, Jan 7, 2016 at 3:34 PM, Phil Blundell <pb@pbcl.net> wrote:
> On Thu, 2016-01-07 at 14:29 -0800, Andre McCurdy wrote:
>> EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a"
>> EXTRA_OECONF_append_armv7m = " --with-arch=armv7-m"
>> EXTRA_OECONF_append_armv7r = " --with-arch=armv7-r"
>> +EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a"
>
> Please add a comment explaining why this isn't --with-arch=armv7ve.

To make it possible to (continue to) share the same gcc-cross etc
binaries between armv7a and armv7ve builds. It's the minimal change to
keep things working as they are now.

The more invasive, but perhaps more correct, change might be to
completely remove these "--with-arch=XXX" options from
gcc-configure-common.inc and replace them with "--with-cpu=XXX"
options in gcc-target.inc ?

> p.
>
>