Replace device_kernel_headers with generated_kernel_headers

Change-Id: I54a969d63f9644f89a231d52f2ef0919edd5b784
Signed-off-by: RITEFANG <1721985272@qq.com>
This commit is contained in:
Michael Bestas
2023-12-25 00:03:50 +02:00
committed by SkyMinus
parent 91afc4bef0
commit e7b9db3513

View File

@@ -64,6 +64,11 @@ endif
ifneq (,$(findstring $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr,$(LOCAL_ADDITIONAL_DEPENDENCIES)))
LOCAL_ADDITIONAL_DEPENDENCIES := $(patsubst $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr,,$(LOCAL_ADDITIONAL_DEPENDENCIES))
endif
# Replace device_kernel_headers with generated_kernel_headers
ifneq (,$(findstring device_kernel_headers,$(LOCAL_HEADER_LIBRARIES)))
LOCAL_HEADER_LIBRARIES := $(patsubst device_kernel_headers,generated_kernel_headers,$(LOCAL_HEADER_LIBRARIES))
endif
endif
# The following LOCAL_ variables will be modified in this file.