summaryrefslogtreecommitdiffstats
path: root/minuitwrp/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--minuitwrp/Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/minuitwrp/Android.mk b/minuitwrp/Android.mk
index bc4e054b3..cf1eb5af2 100644
--- a/minuitwrp/Android.mk
+++ b/minuitwrp/Android.mk
@@ -16,7 +16,11 @@ ifeq ($(TW_TARGET_USES_QCOM_BSP), true)
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr
LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
else
- LOCAL_C_INCLUDES += $(commands_recovery_local_path)/minuitwrp/include
+ ifeq ($(TARGET_CUSTOM_KERNEL_HEADERS),)
+ LOCAL_C_INCLUDES += $(commands_recovery_local_path)/minuitwrp/include
+ else
+ LOCAL_C_INCLUDES += $(TARGET_CUSTOM_KERNEL_HEADERS)
+ endif
endif
else
LOCAL_C_INCLUDES += $(commands_recovery_local_path)/minuitwrp/include