summaryrefslogtreecommitdiff
path: root/hikey-common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hikey-common.mk')
-rw-r--r--hikey-common.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/hikey-common.mk b/hikey-common.mk
index 1927fcf6..5dca9d5c 100644
--- a/hikey-common.mk
+++ b/hikey-common.mk
@@ -7,6 +7,8 @@ ifndef TARGET_COMPRESSED_KERNEL
TARGET_COMPRESSED_KERNEL=true
endif
+HIKEY_USE_DRM_HWCOMPOSER := false
+
ifeq ($(TARGET_COMPRESSED_KERNEL), false)
TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image-dtb-$(TARGET_KERNEL_USE)
else
@@ -25,6 +27,11 @@ else
HIKEY_USE_LEGACY_TI_BLUETOOTH := true
else
HIKEY_USE_LEGACY_TI_BLUETOOTH := false
+ ifeq ($(TARGET_KERNEL_USE), 4.9)
+ HIKEY_USE_DRM_HWCOMPOSER := false
+ else
+ HIKEY_USE_DRM_HWCOMPOSER := true
+ endif
endif
TARGET_FSTAB := fstab.hikey
endif