blob: 86909f1cc2052f12d088223c89a8c1f982bb4175 [file] [log] [blame]
Anton Hansson1399b122018-02-08 14:57:45 +00001
2ifndef TARGET_KERNEL_USE
3TARGET_KERNEL_USE=4.9
4endif
5
6ifndef TARGET_COMPRESSED_KERNEL
Dmitry Shmidt9b2761d2018-03-21 13:40:51 -07007TARGET_COMPRESSED_KERNEL=true
Anton Hansson1399b122018-02-08 14:57:45 +00008endif
9
John Stultz6dc5ce52017-11-01 18:58:15 -070010HIKEY_USE_DRM_HWCOMPOSER := false
11
Anton Hansson1399b122018-02-08 14:57:45 +000012ifeq ($(TARGET_COMPRESSED_KERNEL), false)
13TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image-dtb-$(TARGET_KERNEL_USE)
14else
15TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE)
16endif
17
18TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE)
19
Steven Moreland85e4f252018-03-19 14:00:33 -070020PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
21
Anton Hansson1399b122018-02-08 14:57:45 +000022ifeq ($(TARGET_KERNEL_USE), 3.18)
23 TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE)
24 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
25else
26 ifeq ($(TARGET_KERNEL_USE), 4.4)
27 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
28 else
29 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
John Stultz890bbe42018-09-05 13:41:59 -070030 HIKEY_USE_DRM_HWCOMPOSER := true
Anton Hansson1399b122018-02-08 14:57:45 +000031 endif
32 TARGET_FSTAB := fstab.hikey
33endif
34
35$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
36$(call inherit-product, device/linaro/hikey/device-common.mk)
37$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)