diff --git a/core/combo/arch/mips64/mips64r6.mk b/core/combo/arch/mips64/mips64r6.mk index 9d9068c89f..42d6c9e061 100644 --- a/core/combo/arch/mips64/mips64r6.mk +++ b/core/combo/arch/mips64/mips64r6.mk @@ -1,3 +1,3 @@ # Configuration for Android on mips64r6. -ARCH_MIPS_REV6 := true +ARCH_MIPS64_REV6 := true diff --git a/target/board/generic_mips64/BoardConfig.mk b/target/board/generic_mips64/BoardConfig.mk index ebc1675ae3..ed9c9b3dc3 100644 --- a/target/board/generic_mips64/BoardConfig.mk +++ b/target/board/generic_mips64/BoardConfig.mk @@ -31,7 +31,10 @@ TARGET_CPU_ABI := mips64 TARGET_2ND_ARCH := mips ifeq (,$(TARGET_2ND_ARCH_VARIANT)) ifeq ($(TARGET_ARCH_VARIANT),mips64r6) -TARGET_2ND_ARCH_VARIANT := mips32r6 +# Imgtec builds use 32r6 arch variant with Imgtec-maintained prebuilts/ndk library: +# TARGET_2ND_ARCH_VARIANT := mips32r6 +# Aosp builds lack full set of mips32r6 NDK prebuilts, so use 32r2 abi: +TARGET_2ND_ARCH_VARIANT := mips32r2-fp else TARGET_2ND_ARCH_VARIANT := mips32r2-fp endif