summaryrefslogtreecommitdiff
path: root/hikey960.mk
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2017-08-01 12:32:05 -0700
committerJohn Stultz <john.stultz@linaro.org>2017-08-01 12:32:05 -0700
commit75f00f972619120f375423a9fd0a98dfe9544b71 (patch)
tree515039d2fe91a531f2f540045c60b4c99080782b /hikey960.mk
parent1fbace497e6a1ac4c0c25e63de978f4bdbd03bd8 (diff)
downloadhikey-75f00f972619120f375423a9fd0a98dfe9544b71.tar.gz
hikey960.mk: Enable the common linux bluetooth HAL for 4.9+ kernels
With 4.9+ we should be able to use the common linux bluetooth HAL instead of the legacy TI one with hikey960. Change-Id: I8dda8029079098f99a960a4a068023a126dfae4b Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'hikey960.mk')
-rw-r--r--hikey960.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/hikey960.mk b/hikey960.mk
index cb3e9f52..0245c360 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -4,7 +4,11 @@ endif
TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-hikey960-$(TARGET_KERNEL_USE)
TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi3660-hikey960.dtb-$(TARGET_KERNEL_USE)
-HIKEY_USE_LEGACY_TI_BLUETOOTH := true
+ifeq ($(TARGET_KERNEL_USE), 4.4)
+ HIKEY_USE_LEGACY_TI_BLUETOOTH := true
+else
+ HIKEY_USE_LEGACY_TI_BLUETOOTH := false
+endif
#
# Inherit the full_base and device configurations