blob: 2212f6c4651a0aba742e5f3ddea221d758334c0c [file] [log] [blame]
Anton Hansson1399b122018-02-08 14:57:45 +00001
2ifndef TARGET_KERNEL_USE
3TARGET_KERNEL_USE=4.9
4endif
5
6ifndef TARGET_COMPRESSED_KERNEL
7TARGET_COMPRESSED_KERNEL=false
8endif
9
10ifeq ($(TARGET_COMPRESSED_KERNEL), false)
11TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image-dtb-$(TARGET_KERNEL_USE)
12else
13TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE)
14endif
15
16TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE)
17
18ifeq ($(TARGET_KERNEL_USE), 3.18)
19 TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE)
20 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
21else
22 ifeq ($(TARGET_KERNEL_USE), 4.4)
23 HIKEY_USE_LEGACY_TI_BLUETOOTH := true
24 else
25 HIKEY_USE_LEGACY_TI_BLUETOOTH := false
26 endif
27 TARGET_FSTAB := fstab.hikey
28endif
29
30$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
31$(call inherit-product, device/linaro/hikey/device-common.mk)
32$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)