blob: 779ee8721fd0029b6cff3d28e0c5dced0b1c65bf [file] [log] [blame]
Dmitry Shmidtb4e1ed02017-02-13 14:39:37 -08001ifndef TARGET_KERNEL_USE
Dmitry Shmidtfaf309a2017-02-17 12:47:49 -08002TARGET_KERNEL_USE=4.9
Dmitry Shmidtb4e1ed02017-02-13 14:39:37 -08003endif
4TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image-dtb-$(TARGET_KERNEL_USE)
5TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE)
John Stultzd497f632017-05-30 23:51:33 -07006
Dmitry Shmidt20f2bc12017-05-11 17:05:01 -07007ifeq ($(TARGET_KERNEL_USE), 3.18)
John Stultzd497f632017-05-30 23:51:33 -07008 TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE)
9 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
Dmitry Shmidtb4e1ed02017-02-13 14:39:37 -080010else
John Stultzd497f632017-05-30 23:51:33 -070011 ifeq ($(TARGET_KERNEL_USE), 4.4)
12 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
13 else
14 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
15 endif
16 TARGET_FSTAB := fstab.hikey
Dmitry Shmidt6c658622016-03-23 16:29:35 -070017endif
18
Vishal Bhoje72c9202015-10-23 18:10:21 +010019#
20# Inherit the full_base and device configurations
Amit Pundiraf628c22016-11-02 16:37:00 +080021$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
22$(call inherit-product, device/linaro/hikey/device-common.mk)
Vishal Bhoje72c9202015-10-23 18:10:21 +010023$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
24
25#
26# Overrides
27PRODUCT_NAME := hikey
28PRODUCT_DEVICE := hikey
Dmitry Shmidt3965ada2016-08-05 10:57:25 -070029PRODUCT_BRAND := Android