blob: 40e1f8b4d557ca055824dbb519ec54ac4e98b92c [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)
6ifeq ($(TARGET_KERNEL_USE), 4.1)
7TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE)
8else
9TARGET_FSTAB := fstab.hikey
Dmitry Shmidt6c658622016-03-23 16:29:35 -070010endif
11
Vishal Bhoje72c9202015-10-23 18:10:21 +010012#
13# Inherit the full_base and device configurations
Amit Pundiraf628c22016-11-02 16:37:00 +080014$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
15$(call inherit-product, device/linaro/hikey/device-common.mk)
Vishal Bhoje72c9202015-10-23 18:10:21 +010016$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
17
18#
19# Overrides
20PRODUCT_NAME := hikey
21PRODUCT_DEVICE := hikey
Dmitry Shmidt3965ada2016-08-05 10:57:25 -070022PRODUCT_BRAND := Android