LG8n: Add kernel flags

* Kernel is built separatly and placed in device/tecno/LG8n-kernel

Co-authored-by: Woomymy <woomy@woomy.be>
Co-authored-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-08-29 10:01:53 +08:00
parent 68399ea436
commit 89655add77
2 changed files with 14 additions and 0 deletions

View file

@ -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

View file

@ -5,6 +5,7 @@
#
DEVICE_PATH := device/tecno/LG8n
KERNEL_PATH := $(DEVICE_PATH)-kernel
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 31