summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Kondik <steve@cyngn.com>2016-06-24 12:21:12 -1000
committerSteve Kondik <steve@cyngn.com>2016-06-24 12:21:12 -1000
commiteb67a6f599afc1a85e541ba7b5bd58ea10dd6f7b (patch)
treebd4e539a19332c75d4e85b26d98917faee49a8c3
parent2ee6820e5007ac2f1fbd58932991aa967d0f30ca (diff)
downloadandroid_hardware_ril-eb67a6f599afc1a85e541ba7b5bd58ea10dd6f7b.tar.gz
android_hardware_ril-eb67a6f599afc1a85e541ba7b5bd58ea10dd6f7b.tar.bz2
android_hardware_ril-eb67a6f599afc1a85e541ba7b5bd58ea10dd6f7b.zip
ril-caf: Fix build when using prebuilt libril
* ril-caf was failing to compile when a prebuilt libril was in use. This is obviously not an optimal configuration, but is necessary in a couple of cases. Hardcode the include path so ril_ex.h gets picked up. Change-Id: I35221b306662cd0a99041b4768fad51e35115b76
-rw-r--r--rild/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rild/Android.mk b/rild/Android.mk
index 8aae88d..54ad415 100644
--- a/rild/Android.mk
+++ b/rild/Android.mk
@@ -29,6 +29,10 @@ LOCAL_MODULE_TAGS := optional
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libril
+ifeq ($(BOARD_PROVIDES_LIBRIL),true)
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/..
+endif
+
include $(BUILD_EXECUTABLE)
# For radiooptions binary