summaryrefslogtreecommitdiff
path: root/hikey-common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hikey-common.mk')
-rw-r--r--hikey-common.mk15
1 files changed, 3 insertions, 12 deletions
diff --git a/hikey-common.mk b/hikey-common.mk
index a2cb4607..bf3bd24b 100644
--- a/hikey-common.mk
+++ b/hikey-common.mk
@@ -2,22 +2,13 @@ ifndef TARGET_KERNEL_USE
TARGET_KERNEL_USE=4.19
endif
-HIKEY_USE_DRM_HWCOMPOSER := false
-
-TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE)
-
-TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE)
+LOCAL_KERNEL_HOME ?= device/linaro/hikey-kernel/hikey/$(TARGET_KERNEL_USE)
+TARGET_PREBUILT_KERNEL := $(LOCAL_KERNEL_HOME)/Image.gz-dtb
+TARGET_PREBUILT_DTB := $(LOCAL_KERNEL_HOME)/hi6220-hikey.dtb
PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
-ifeq ($(TARGET_KERNEL_USE), 4.4)
- HIKEY_USE_LEGACY_TI_BLUETOOTH := true
-else
- HIKEY_USE_LEGACY_TI_BLUETOOTH := false
- HIKEY_USE_DRM_HWCOMPOSER := true
-endif
TARGET_FSTAB := fstab.hikey
$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
$(call inherit-product, device/linaro/hikey/device-common.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)