kebab: Migrate to soong_config_set()

Change-Id: I06de8759836114f54a822d6f23f1177515e21178
This commit is contained in:
LuK1337
2024-08-28 15:32:59 +02:00
parent d587a9c025
commit 542ef1e4bf
2 changed files with 3 additions and 5 deletions

View File

@@ -30,10 +30,5 @@ BOARD_SUPER_PARTITION_SIZE := 7516192768
TARGET_RECOVERY_FSTAB := $(DEVICE_PATH)/init/fstab.qcom
TARGET_RECOVERY_UI_MARGIN_HEIGHT := 103
# Touch
SOONG_CONFIG_NAMESPACES += OPLUS_LINEAGE_TOUCH_HAL
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL := INCLUDE_DIR
SOONG_CONFIG_OPLUS_LINEAGE_TOUCH_HAL_INCLUDE_DIR := $(DEVICE_PATH)/touch/include
# Include the proprietary files BoardConfig.
include vendor/oneplus/kebab/BoardConfigVendor.mk

View File

@@ -44,6 +44,9 @@ PRODUCT_SHIPPING_API_LEVEL := 30
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Touch
$(call soong_config_set,OPLUS_LINEAGE_TOUCH_HAL,INCLUDE_DIR,$(LOCAL_PATH)/touch/include)
# Inherit from the common OEM chipset makefile.
$(call inherit-product, device/oneplus/sm8250-common/common.mk)