OSDN Git Service

Allowing pairing mips64r6 with mips32r1 and r2
authorDuane Sand <duane.1.sand@gmail.com>
Tue, 19 Jul 2016 22:07:43 +0000 (15:07 -0700)
committerDuane Sand <duane.1.sand@gmail.com>
Wed, 10 Aug 2016 19:13:30 +0000 (12:13 -0700)
commit47b57e6bd2fa9891528a50a71794bb24451aba00
treec18700741609494bfb3e7fdfa8801c0ad1ba35d3
parent3750ed3e17f0644120fae9e0fa1956126f956e3a
Allowing pairing mips64r6 with mips32r1 and r2

On mips64r6 builds, the shell variable ARCH_MIPS_REV6 is not
cleared before compiling 2nd arch parts.  This bug is harmless when
2nd arch is mips32r6 but it omits needed mips-specific assembly
files when compiling libagl and libpixelflinger for mips32r1 or r2.

Clearing the variable is impractical.  Using TARGET_2ND_ARCH qualifiers
would work, but Arm and x86 use a simpler method with distinct ARCH_ARM
and ARCH_ARM64 symbols.  ARCH_MIPS_REV6 is used in two places.
Both controll 32-bit parts only, so neither place needs adjustment.

Change-Id: Id1ea5e8b6f8666d9df219fa9ef41834bd31f5dd8
core/combo/arch/mips64/mips64r6.mk