blob: 1927fcf647441e4dee3014a616592c526b649c8f [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
10ifeq ($(TARGET_COMPRESSED_KERNEL), false)
11TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image-dtb-$(TARGET_KERNEL_USE)
12else
13TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE)
14endif
15
16TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE)
17
Steven Moreland85e4f252018-03-19 14:00:33 -070018PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true
19
Anton Hansson1399b122018-02-08 14:57:45 +000020ifeq ($(TARGET_KERNEL_USE), 3.18)
21 TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE)
22 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
23else
24 ifeq ($(TARGET_KERNEL_USE), 4.4)
25 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
26 else
27 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
28 endif
29 TARGET_FSTAB := fstab.hikey
30endif
31
32$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
33$(call inherit-product, device/linaro/hikey/device-common.mk)
34$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)