blob: 3df9ba70fd781a8af7e99ef380db4f74fd201403 [file] [log] [blame]
Anton Hansson1399b122018-02-08 14:57:45 +00001ifndef TARGET_KERNEL_USE
John Stultze7864da2019-05-13 13:38:38 -07002TARGET_KERNEL_USE=4.19
Anton Hansson1399b122018-02-08 14:57:45 +00003endif
4
John Stultz6dc5ce52017-11-01 18:58:15 -07005HIKEY_USE_DRM_HWCOMPOSER := false
6
Yongqin Liuaa064df2020-11-24 16:07:20 +08007LOCAL_KERNEL_HOME ?= device/linaro/hikey-kernel/hikey/$(TARGET_KERNEL_USE)
8TARGET_PREBUILT_KERNEL := $(LOCAL_KERNEL_HOME)/Image.gz-dtb
9TARGET_PREBUILT_DTB := $(LOCAL_KERNEL_HOME)/hi6220-hikey.dtb
Anton Hansson1399b122018-02-08 14:57:45 +000010
Steven Moreland85e4f252018-03-19 14:00:33 -070011PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
12
Alistair Strachan77081492019-01-14 09:03:22 -080013ifeq ($(TARGET_KERNEL_USE), 4.4)
Anton Hansson1399b122018-02-08 14:57:45 +000014 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
15else
Alistair Strachan77081492019-01-14 09:03:22 -080016 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
17 HIKEY_USE_DRM_HWCOMPOSER := true
Anton Hansson1399b122018-02-08 14:57:45 +000018endif
Alistair Strachan77081492019-01-14 09:03:22 -080019TARGET_FSTAB := fstab.hikey
Anton Hansson1399b122018-02-08 14:57:45 +000020
21$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
22$(call inherit-product, device/linaro/hikey/device-common.mk)