summaryrefslogtreecommitdiff
path: root/hikey.mk
diff options
context:
space:
mode:
Diffstat (limited to 'hikey.mk')
-rw-r--r--hikey.mk37
1 files changed, 2 insertions, 35 deletions
diff --git a/hikey.mk b/hikey.mk
index ca6f2d18..0b32845c 100644
--- a/hikey.mk
+++ b/hikey.mk
@@ -1,39 +1,6 @@
-ifndef TARGET_KERNEL_USE
-TARGET_KERNEL_USE=4.9
-endif
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
+$(call inherit-product, device/linaro/hikey/hikey-common.mk)
-ifndef TARGET_COMPRESSED_KERNEL
-TARGET_COMPRESSED_KERNEL=false
-endif
-
-ifeq ($(TARGET_COMPRESSED_KERNEL), false)
-TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image-dtb-$(TARGET_KERNEL_USE)
-else
-TARGET_PREBUILT_KERNEL := device/linaro/hikey-kernel/Image.gz-dtb-$(TARGET_KERNEL_USE)
-endif
-
-TARGET_PREBUILT_DTB := device/linaro/hikey-kernel/hi6220-hikey.dtb-$(TARGET_KERNEL_USE)
-
-ifeq ($(TARGET_KERNEL_USE), 3.18)
- TARGET_FSTAB := fstab.hikey-$(TARGET_KERNEL_USE)
- HIKEY_USE_LEGACY_TI_BLUETOOTH := true
-else
- ifeq ($(TARGET_KERNEL_USE), 4.4)
- HIKEY_USE_LEGACY_TI_BLUETOOTH := true
- else
- HIKEY_USE_LEGACY_TI_BLUETOOTH := false
- endif
- TARGET_FSTAB := fstab.hikey
-endif
-
-#
-# Inherit the full_base and device configurations
-$(call inherit-product, device/linaro/hikey/hikey/device-hikey.mk)
-$(call inherit-product, device/linaro/hikey/device-common.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
-
-#
-# Overrides
PRODUCT_NAME := hikey
PRODUCT_DEVICE := hikey
PRODUCT_BRAND := Android