2016-10-29 17:00:35 +00:00
|
|
|
# kernel
|
|
|
|
BOARD_KERNEL_BASE := 0x80000000
|
|
|
|
BOARD_CUSTOM_BOOTIMG_MK := $(DEVICE_PATH)/mkbootimg.mk
|
|
|
|
BOARD_KERNEL_CMDLINE := androidboot.hardware=qcom msm_rtb.filter=0x237 ehci-hcd.park=3 lpm_levels.sleep_disabled=1 androidboot.bootdevice=7824900.sdhci earlycon=msm_hsl_uart,0x78B0000
|
2016-10-31 13:40:03 +00:00
|
|
|
BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
|
2016-10-29 17:00:35 +00:00
|
|
|
BOARD_KERNEL_PAGESIZE := 2048
|
|
|
|
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100
|
|
|
|
TARGET_KERNEL_ARCH := arm64
|
|
|
|
TARGET_KERNEL_CONFIG := cyanogenmod_land_defconfig
|
|
|
|
TARGET_KERNEL_CROSS_COMPILE_PREFIX := aarch64-linux-android-
|
|
|
|
TARGET_KERNEL_SOURCE := kernel/xiaomi/msm8937
|
|
|
|
TARGET_PREBUILT_KERNEL := $(DEVICE_PATH)/kernel
|