OSDN Git Service

Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.
authorDouglas Leung <douglas.leung@imgtec.com>
Thu, 8 Jan 2015 00:29:39 +0000 (16:29 -0800)
committerDouglas Leung <douglas.leung@imgtec.com>
Thu, 8 Jan 2015 02:50:06 +0000 (18:50 -0800)
This is used to set --instruction-set-variant for dex2oat.

Change-Id: Ic93d1bfab634489e004ccf1195cdcfc767f092ef

target/board/generic_mips/BoardConfig.mk
target/board/generic_mips64/BoardConfig.mk

index dbc715a..736ad7f 100644 (file)
@@ -28,6 +28,9 @@ TARGET_ARCH_VARIANT := mips32r2-fp
 endif
 TARGET_CPU_ABI  := mips
 
+# Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT
+TARGET_CPU_VARIANT := $(TARGET_ARCH_VARIANT)
+
 HAVE_HTC_AUDIO_DRIVER := true
 BOARD_USES_GENERIC_AUDIO := true
 
index f8cf4f0..caebacc 100644 (file)
@@ -38,6 +38,10 @@ endif
 endif
 TARGET_2ND_CPU_ABI  := mips
 
+# Make TARGET_XXX_CPU_VARIANT the same as TARGET_XXX_ARCH_VARIANT
+TARGET_CPU_VARIANT := $(TARGET_ARCH_VARIANT)
+TARGET_2ND_CPU_VARIANT := $(TARGET_2ND_ARCH_VARIANT)
+
 # The emulator (qemu) uses the Goldfish devices
 HAVE_HTC_AUDIO_DRIVER := true
 BOARD_USES_GENERIC_AUDIO := true