blob: aba5797adec2f5fc591045f9d762c2eca6589cd7 [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
John Stultz478f0832020-06-05 04:22:09 +00007TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/hikey/$(TARGET_KERNEL_USE)/Image.gz-dtb
8TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hikey/$(TARGET_KERNEL_USE)/hi6220-hikey.dtb
Anton Hansson1399b122018-02-08 14:57:45 +00009
Steven Moreland85e4f252018-03-19 14:00:33 -070010PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
11
Alistair Strachan77081492019-01-14 09:03:22 -080012ifeq ($(TARGET_KERNEL_USE), 4.4)
Anton Hansson1399b122018-02-08 14:57:45 +000013 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
14else
Alistair Strachan77081492019-01-14 09:03:22 -080015 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
16 HIKEY_USE_DRM_HWCOMPOSER := true
Anton Hansson1399b122018-02-08 14:57:45 +000017endif
Alistair Strachan77081492019-01-14 09:03:22 -080018TARGET_FSTAB := fstab.hikey
Anton Hansson1399b122018-02-08 14:57:45 +000019
20$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
21$(call inherit-product, device/linaro/hikey/device-common.mk)
22$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)