summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsaac Chen <ycchen@google.com>2017-11-09 12:17:31 +0800
committerIsaac Chen <ycchen@google.com>2017-11-09 12:17:31 +0800
commit2199444cd62884f20e6cf0cc313b1d1853345e38 (patch)
tree2b14f32dea63ebe3eab660ba6c77fc603c5e846c
parent4d9672465da3e5db0ec3cbbad56b188f49a151c5 (diff)
downloaddragon-2199444cd62884f20e6cf0cc313b1d1853345e38.tar.gz
Set TARGET_2ND_(CPU|ARCH)_VARIANT properly
Dragon uses ARM Cortex-A53, so 2nd arch/cpu variant should be: TARGET_2ND_ARCH_VARIANT := armv8-a TARGET_2ND_CPU_VARIANT := cortex-a53 instead of armv7-a-neon/cortex-a7 since 32-bit armv8 support is ready in AOSP. Without this change, vendor bits will encounter build failure since some components still use gcc, which complains armv7-a conflicts cortex-a7 (technically, an armv7ve implementation). Test: lunch aosp_dragon; make -j Change-Id: I7dffa6c4e4b27b9a429a4b2ddc1ac99444dc9cfa
-rw-r--r--BoardConfig.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index a616551..53bb361 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -26,10 +26,10 @@ TARGET_CPU_ABI2 :=
TARGET_CPU_VARIANT := cortex-a53
TARGET_2ND_ARCH := arm
-TARGET_2ND_ARCH_VARIANT := armv7-a-neon
+TARGET_2ND_ARCH_VARIANT := armv8-a
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
-TARGET_2ND_CPU_VARIANT := cortex-a7
+TARGET_2ND_CPU_VARIANT := cortex-a53
# Disable emulator for "make dist" until there is a 64-bit qemu kernel
BUILD_EMULATOR := false