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