From e7b9db3513b2a8d700900ae21aa7fb6efc5d7268 Mon Sep 17 00:00:00 2001 From: Michael Bestas Date: Mon, 25 Dec 2023 00:03:50 +0200 Subject: [PATCH] Replace device_kernel_headers with generated_kernel_headers Change-Id: I54a969d63f9644f89a231d52f2ef0919edd5b784 Signed-off-by: RITEFANG <1721985272@qq.com> --- core/binary.mk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/binary.mk b/core/binary.mk index efa2a7ac43..586524b4ad 100644 --- a/core/binary.mk +++ b/core/binary.mk @@ -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.