exynos9610: use Soong config to handle custom light include directory
authorHan Sol Jin <hansol@hansol.ca>
Thu, 20 Jun 2024 17:30:12 +0000 (10:30 -0700)
committerNolen Johnson <johnsonnolen@gmail.com>
Fri, 21 Jun 2024 05:15:58 +0000 (01:15 -0400)
Change-Id: I828325be95e249fd7da407d7d27ab7c24209eb93

BoardConfigCommon.mk

index c9486f861a3c51698ad71834b9fb8c2ea125fab7..85cd7cdc1808aa1f27715dc8f610a5c5ac9fa039 100644 (file)
@@ -16,9 +16,6 @@
 
 COMMON_PATH := device/motorola/exynos9610-common
 
-## Include path
-TARGET_SPECIFIC_HEADER_PATH := $(COMMON_PATH)/include
-
 ## Inherit proprietary vendor configuartion
 include vendor/motorola/exynos9610-common/BoardConfigVendor.mk
 
@@ -97,6 +94,9 @@ TARGET_KERNEL_CLANG_PATH := $(abspath .)/prebuilts/clang/kernel/$(HOST_PREBUILT_
 TARGET_KERNEL_LLVM_BINUTILS := false
 TARGET_KERNEL_SOURCE := kernel/motorola/exynos9610
 
+## Lights
+$(call soong_config_set,SAMSUNG_LIGHTS_HAL,INCLUDE_DIR,$(COMMON_PATH)/include)
+
 ## Lineage Health
 TARGET_HEALTH_CHARGING_CONTROL_CHARGING_ENABLED := 0
 TARGET_HEALTH_CHARGING_CONTROL_CHARGING_DISABLED := 1