Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 1 | |
| 2 | ifndef TARGET_KERNEL_USE |
| 3 | TARGET_KERNEL_USE=4.9 |
| 4 | endif |
| 5 | |
| 6 | ifndef TARGET_COMPRESSED_KERNEL |
| 7 | TARGET_COMPRESSED_KERNEL=false |
| 8 | endif |
| 9 | |
| 10 | ifeq ($(TARGET_COMPRESSED_KERNEL), false) |
| 11 | TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image-dtb-$(TARGET_KERNEL_USE) |
| 12 | else |
| 13 | TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE) |
| 14 | endif |
| 15 | |
| 16 | TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE) |
| 17 | |
Steven Moreland | 3cd6c33 | 2018-03-19 14:00:33 -0700 | [diff] [blame] | 18 | PRODUCT_ENFORCE_VINTF_MANIFEST_OVERRIDE := true |
| 19 | |
Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 20 | ifeq ($(TARGET_KERNEL_USE), 3.18) |
| 21 | TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE) |
| 22 | HIKEY_USE_LEGACY_TI_BLUETOOTH := true |
| 23 | else |
| 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 |
| 30 | endif |
| 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) |