X6833B: Install generated kernel headers from X6833B-kernel

* When generating kernel includes, lineage's generator was using kernel
  source from kernel/infinix/x6833b. 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: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
Woomymy 2023-05-12 16:18:18 +02:00 committed by dodyirawan85
parent 9e3ab39265
commit 23230d0990

View file

@ -148,5 +148,8 @@ BOARD_AVB_VBMETA_VENDOR_ROLLBACK_INDEX_LOCATION := 3
# VNDK # VNDK
BOARD_VNDK_VERSION := current BOARD_VNDK_VERSION := current
# Workaround to make lineage's soong generator work
TARGET_KERNEL_SOURCE := $(KERNEL_PATH)/kernel-headers
# Inherit the proprietary files # Inherit the proprietary files
include vendor/infinix/X6833B/BoardConfigVendor.mk include vendor/infinix/X6833B/BoardConfigVendor.mk