summaryrefslogtreecommitdiff
path: root/BoardConfigCommon.mk
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2018-06-19 15:43:16 -0700
committerJohn Stultz <john.stultz@linaro.org>2018-06-19 15:43:16 -0700
commitfbb84c4d0826df64824458fa81230e7674cc21f9 (patch)
tree0b6ef54e2ae18247cab5e0f653bdb818bc6c43a5 /BoardConfigCommon.mk
parent83c0e2d75c7fbc57ff6d636627f83f45e41eef33 (diff)
downloadhikey-fbb84c4d0826df64824458fa81230e7674cc21f9.tar.gz
HACK: Workaround hikey64_only target not building with FULL_TREBLE
Unfortunately, the hikey64_only target doesn't build with FULL_TREBLE as the soft-codecs only build for 32bit and are required in the current VNDK-core. Thus, this patch temporarily disables TREBLE on the hikey64_only target, so that things continue to build. Once we have 64bit soft-codecs, then we can remove this extra conditional. Change-Id: Id7444c23b6e1faedeb163d65fdb1202be04b7302 Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'BoardConfigCommon.mk')
-rw-r--r--BoardConfigCommon.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index cf4976e5..c6fac23e 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -16,9 +16,15 @@ USE_OPENGL_RENDERER := true
# BT configs
BOARD_HAVE_BLUETOOTH := true
+# HACK! hikey64_only doesn't build w/ VNDK_VERSION=current
+# This is due to software codecs being required but only
+# building for 32bit. Remove the conditional once 64bit
+# soft-codecs work
+ifeq ($(filter hikey64, $(TARGET_DEVICE)),)
# enable Treble
PRODUCT_FULL_TREBLE_OVERRIDE := true
BOARD_VNDK_VERSION := current
+endif
# generic wifi
WPA_SUPPLICANT_VERSION := VER_0_8_X