blob: 3666ec35c69845fa6f4c56ab7b7c422899981b0b [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
Sandeep Patila2106d12018-07-31 13:56:56 -070020#setup dm-verity configs
21PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/platform/soc/ff3b0000.ufs/by-name/system
22PRODUCT_VENDOR_VERITY_PARTITION := /dev/block/platform/soc/ff3b0000.ufs/by-name/vendor
23$(call inherit-product, build/target/product/verity.mk)
24PRODUCT_SUPPORTS_BOOT_SIGNER := false
25PRODUCT_SUPPORTS_VERITY_FEC := false
26
Dmitry Shmidt5d080802017-04-11 14:20:03 -070027#
28# Overrides
29PRODUCT_NAME := hikey960
30PRODUCT_DEVICE := hikey960
31PRODUCT_BRAND := Android
32PRODUCT_MODEL := AOSP on hikey960