diff --git a/BoardConfig.mk b/BoardConfig.mk index 50f8977..3657e8f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -48,6 +48,17 @@ BOARD_MKBOOTIMG_ARGS += --header_version $(BOARD_BOOT_HEADER_VERSION) BOARD_KERNEL_CMDLINE := bootopt=64S3,32N2,64N2 +# Kernel +TARGET_KERNEL_ARCH := arm64 +TARGET_KERNEL_HEADER_ARCH := arm64 +TARGET_KERNEL_SOURCE := kernel/xiaomi/mt6785 +TARGET_KERNEL_CONFIG := rosemary_defconfig +TARGET_KERNEL_CLANG_COMPILE := true +TARGET_KERNEL_CLANG_VERSION := r383902 +BOARD_KERNEL_SEPARATED_DTBO := true +BOARD_INCLUDE_RECOVERY_DTBO := true +BOARD_KERNEL_IMAGE_NAME := Image.gz + # Platform TARGET_BOARD_PLATFORM := mt6785