blob: 1b9799b989ec181466ed2f38c174d9c4165ce1d4 [file] [log] [blame]
Dmitry Shmidt64185fa2017-07-28 15:08:55 -07001ifndef TARGET_KERNEL_USE
Dmitry Shmidt97211442017-08-07 15:05:18 -07002TARGET_KERNEL_USE=4.9
Dmitry Shmidt64185fa2017-07-28 15:08:55 -07003endif
John Stultz70876332017-08-15 15:35:45 -07004TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-hikey960-$(TARGET_KERNEL_USE)
Dmitry Shmidt64185fa2017-07-28 15:08:55 -07005TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi3660-hikey960.dtb-$(TARGET_KERNEL_USE)
6
John Stultz75f00f92017-08-01 12:32:05 -07007ifeq ($(TARGET_KERNEL_USE), 4.4)
8 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
9else
10 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
11endif
John Stultzd497f632017-05-30 23:51:33 -070012
Dmitry Shmidt5d080802017-04-11 14:20:03 -070013#
14# Inherit the full_base and device configurations
Anton Hansson1399b122018-02-08 14:57:45 +000015$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
Dmitry Shmidt5d080802017-04-11 14:20:03 -070016$(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
22PRODUCT_NAME := hikey960
23PRODUCT_DEVICE := hikey960
24PRODUCT_BRAND := Android
25PRODUCT_MODEL := AOSP on hikey960