blob: d4b8797d39efd049e3242412556cf0e164afcbee [file] [log] [blame]
Anton Hansson1399b122018-02-08 14:57:45 +00001
2ifndef TARGET_KERNEL_USE
John Stultzfeabec52019-01-07 20:50:09 -08003TARGET_KERNEL_USE=4.14
Anton Hansson1399b122018-02-08 14:57:45 +00004endif
5
John Stultz6dc5ce52017-11-01 18:58:15 -07006HIKEY_USE_DRM_HWCOMPOSER := false
7
Anton Hansson1399b122018-02-08 14:57:45 +00008TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE)
Anton Hansson1399b122018-02-08 14:57:45 +00009
10TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE)
11
Steven Moreland85e4f252018-03-19 14:00:33 -070012PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
13
Anton Hansson1399b122018-02-08 14:57:45 +000014ifeq ($(TARGET_KERNEL_USE), 3.18)
15 TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE)
16 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
17else
18 ifeq ($(TARGET_KERNEL_USE), 4.4)
19 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
20 else
21 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
John Stultz890bbe42018-09-05 13:41:59 -070022 HIKEY_USE_DRM_HWCOMPOSER := true
Anton Hansson1399b122018-02-08 14:57:45 +000023 endif
24 TARGET_FSTAB := fstab.hikey
25endif
26
27$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
28$(call inherit-product, device/linaro/hikey/device-common.mk)
29$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)