summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKra1o5 <kra1o5x@gmail.com>2014-12-17 01:49:00 +0100
committerKra1o5 <kra1o5x@gmail.com>2014-12-17 11:47:33 +0100
commit0024e3826b9aee1675445e270294963fd756f4bf (patch)
tree99069ce5ab4708443ff39de96175cbfcda41480e
parentFixes for compiling crypto in older trees (diff)
downloadandroid_bootable_recovery-0024e3826b9aee1675445e270294963fd756f4bf.tar
android_bootable_recovery-0024e3826b9aee1675445e270294963fd756f4bf.tar.gz
android_bootable_recovery-0024e3826b9aee1675445e270294963fd756f4bf.tar.bz2
android_bootable_recovery-0024e3826b9aee1675445e270294963fd756f4bf.tar.lz
android_bootable_recovery-0024e3826b9aee1675445e270294963fd756f4bf.tar.xz
android_bootable_recovery-0024e3826b9aee1675445e270294963fd756f4bf.tar.zst
android_bootable_recovery-0024e3826b9aee1675445e270294963fd756f4bf.zip
-rw-r--r--minui/Android.mk12
-rw-r--r--minuitwrp/Android.mk6
2 files changed, 15 insertions, 3 deletions
diff --git a/minui/Android.mk b/minui/Android.mk
index 061bee67e..5e42d2fa9 100644
--- a/minui/Android.mk
+++ b/minui/Android.mk
@@ -19,7 +19,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)/minui/include
+ ifeq ($(TARGET_CUSTOM_KERNEL_HEADERS),)
+ LOCAL_C_INCLUDES += $(commands_recovery_local_path)/minui/include
+ else
+ LOCAL_C_INCLUDES += $(TARGET_CUSTOM_KERNEL_HEADERS)
+ endif
endif
else
LOCAL_C_INCLUDES += $(commands_recovery_local_path)/minui/include
@@ -75,7 +79,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)/minui/include
+ ifeq ($(TARGET_CUSTOM_KERNEL_HEADERS),)
+ LOCAL_C_INCLUDES += $(commands_recovery_local_path)/minui/include
+ else
+ LOCAL_C_INCLUDES += $(TARGET_CUSTOM_KERNEL_HEADERS)
+ endif
endif
else
LOCAL_C_INCLUDES += $(commands_recovery_local_path)/minui/include
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