Dmitry Shmidt | 64185fa | 2017-07-28 15:08:55 -0700 | [diff] [blame] | 1 | ifndef TARGET_KERNEL_USE |
Dmitry Shmidt | 9721144 | 2017-08-07 15:05:18 -0700 | [diff] [blame] | 2 | TARGET_KERNEL_USE=4.9 |
Dmitry Shmidt | 64185fa | 2017-07-28 15:08:55 -0700 | [diff] [blame] | 3 | endif |
John Stultz | 7087633 | 2017-08-15 15:35:45 -0700 | [diff] [blame] | 4 | TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-hikey960-$(TARGET_KERNEL_USE) |
Dmitry Shmidt | 64185fa | 2017-07-28 15:08:55 -0700 | [diff] [blame] | 5 | TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi3660-hikey960.dtb-$(TARGET_KERNEL_USE) |
| 6 | |
John Stultz | 75f00f9 | 2017-08-01 12:32:05 -0700 | [diff] [blame] | 7 | ifeq ($(TARGET_KERNEL_USE), 4.4) |
| 8 | HIKEY_USE_LEGACY_TI_BLUETOOTH := true |
| 9 | else |
| 10 | HIKEY_USE_LEGACY_TI_BLUETOOTH := false |
| 11 | endif |
John Stultz | d497f63 | 2017-05-30 23:51:33 -0700 | [diff] [blame] | 12 | |
Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 13 | # |
| 14 | # Inherit the full_base and device configurations |
Anton Hansson | 1399b12 | 2018-02-08 14:57:45 +0000 | [diff] [blame] | 15 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
Dmitry Shmidt | 5d08080 | 2017-04-11 14:20:03 -0700 | [diff] [blame] | 16 | $(call inherit-product, device/linaro/hikey/hikey960/device-hikey960.mk) |
| 17 | $(call inherit-product, device/linaro/hikey/device-common.mk) |
| 18 | $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) |
| 19 | |
| 20 | # |
| 21 | # Overrides |
| 22 | PRODUCT_NAME := hikey960 |
| 23 | PRODUCT_DEVICE := hikey960 |
| 24 | PRODUCT_BRAND := Android |
| 25 | PRODUCT_MODEL := AOSP on hikey960 |