mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-21 13:26:26 -08:00
LG8n: Install generated kernel headers from LG8n-kernel
* When generating kernel includes, lineage's generator was using kernel source from kernel/tecno/lg8n. Use kernel headers generated by the kernel build system instead (kernel-headers.tar.gz) and a Makefile to copy them during `make headers_install`. Signed-off-by: Woomymy <woomy@woomy.be> Change-Id: I2c3972604822ce89201d8a317292cd045e77c705 Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
e70c4ebe78
commit
9ba63e98db
|
@ -35,5 +35,8 @@ BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(sort $(BOARD_VENDOR_RAMDISK_KERNEL_MODU
|
|||
BOARD_VENDOR_KERNEL_MODULES_LOAD := $(strip $(shell cat $(KERNEL_PATH)/vendor_dlkm/modules.load))
|
||||
BOARD_VENDOR_KERNEL_MODULES := $(wildcard $(KERNEL_PATH)/vendor_dlkm/*.ko)
|
||||
|
||||
# Workaround to make lineage's soong generator work
|
||||
TARGET_KERNEL_SOURCE := $(KERNEL_PATH)/kernel-headers
|
||||
|
||||
# Inherit the proprietary files
|
||||
include vendor/tecno/LG8n/BoardConfigVendor.mk
|
||||
|
|
Loading…
Reference in a new issue