diff --git a/BoardConfig.mk b/BoardConfig.mk index 44b9f28..bf38258 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -7,5 +7,18 @@ # Include the common OEM chipset BoardConfig. include device/tecno/pova4series-common/BoardConfigCommon.mk +# Boot image +BOARD_INCLUDE_DTB_IN_BOOTIMG := true + +# DTB +BOARD_PREBUILT_DTBOIMAGE := $(KERNEL_PATH)/dtbo.img +BOARD_PREBUILT_DTBIMAGE_DIR := $(KERNEL_PATH)/dtb + +# Kernel +TARGET_NO_KERNEL_OVERRIDE := true +LOCAL_KERNEL := $(KERNEL_PATH)/Image.gz +PRODUCT_COPY_FILES += \ + $(LOCAL_KERNEL):kernel + # Inherit the proprietary files include vendor/tecno/LG8n/BoardConfigVendor.mk diff --git a/device.mk b/device.mk index 77e3e65..dddb00d 100644 --- a/device.mk +++ b/device.mk @@ -5,6 +5,7 @@ # DEVICE_PATH := device/tecno/LG8n +KERNEL_PATH := $(DEVICE_PATH)-kernel # Shipping API level PRODUCT_SHIPPING_API_LEVEL := 31