Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 1 | |
| 2 | ifndef TARGET_KERNEL_USE |
John Stultz | feabec5 | 2019-01-07 20:50:09 -0800 | [diff] [blame] | 3 | TARGET_KERNEL_USE=4.14 |
Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 4 | endif |
| 5 | |
John Stultz | 6dc5ce5 | 2017-11-01 18:58:15 -0700 | [diff] [blame] | 6 | HIKEY_USE_DRM_HWCOMPOSER := false |
| 7 | |
Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 8 | TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE) |
Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 9 | |
| 10 | TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE) |
| 11 | |
Steven Moreland | 85e4f25 | 2018-03-19 14:00:33 -0700 | [diff] [blame] | 12 | PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true |
| 13 | |
Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 14 | ifeq ($(TARGET_KERNEL_USE), 3.18) |
| 15 | TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE) |
| 16 | HIKEY_USE_LEGACY_TI_BLUETOOTH := true |
| 17 | else |
| 18 | ifeq ($(TARGET_KERNEL_USE), 4.4) |
| 19 | HIKEY_USE_LEGACY_TI_BLUETOOTH := true |
| 20 | else |
| 21 | HIKEY_USE_LEGACY_TI_BLUETOOTH := false |
John Stultz | 890bbe4 | 2018-09-05 13:41:59 -0700 | [diff] [blame] | 22 | HIKEY_USE_DRM_HWCOMPOSER := true |
Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 23 | endif |
| 24 | TARGET_FSTAB := fstab.hikey |
| 25 | endif |
| 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) |