BOARD_KERNEL_CMDLINE := bootopt=64S3,32N2,64N2
TARGET_KERNEL_SOURCE := kernel/realme/mt6785 TARGET_KERNEL_CONFIG := RM6785_defconfig TARGET_KERNEL_ADDITIONAL_FLAGS := HOSTCFLAGS="-fuse-ld=lld -Wno-unused-command-line-argument"
BOARD_KERNEL_BASE := 0x40078000 BOARD_KERNEL_OFFSET := 0x00008000 BOARD_KERNEL_PAGESIZE := 2048 BOARD_KERNEL_TAGS_OFFSET := 0x0bc08000 BOARD_RAMDISK_OFFSET := 0x07c08000 BOARD_DTB_OFFSET := 0x0bc08000 BOARD_KERNEL_SECOND_OFFSET := 0x00e88000 BOARD_BOOT_HEADER_VERSION := 2
BOARD_KERNEL_IMAGE_NAME := Image.gz
TARGET_FORCE_PREBUILT_KERNEL := true TARGET_NO_KERNEL_OVERRIDE := true
TARGET_PREBUILT_KERNEL :=
BOARD_MKBOOTIMG_ARGS += --base