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 | |
| 18 | ifeq ($(TARGET_KERNEL_USE), 3.18) |
| 19 | TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE) |
| 20 | HIKEY_USE_LEGACY_TI_BLUETOOTH := true |
| 21 | else |
| 22 | ifeq ($(TARGET_KERNEL_USE), 4.4) |
| 23 | HIKEY_USE_LEGACY_TI_BLUETOOTH := true |
| 24 | else |
| 25 | HIKEY_USE_LEGACY_TI_BLUETOOTH := false |
| 26 | endif |
| 27 | TARGET_FSTAB := fstab.hikey |
| 28 | endif |
| 29 | |
| 30 | $(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk) |
| 31 | $(call inherit-product, device/linaro/hikey/device-common.mk) |
| 32 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) |