Make TARGET_CPU_VARIANT the same as TARGET_ARCH_VARIANT for Mips.

This is used to set --instruction-set-variant for dex2oat.

Change-Id: Ic93d1bfab634489e004ccf1195cdcfc767f092ef
This commit is contained in:
Douglas Leung 2015-01-07 16:29:39 -08:00
parent aa11271606
commit 3cf3d78600
2 changed files with 7 additions and 0 deletions

View 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

View 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