summaryrefslogtreecommitdiff
path: root/libkms
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-03-17 23:30:08 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-03-20 16:59:22 +0000
commit24ac8cd7db201da1cd181b13173a420ff762e533 (patch)
treee2e9a96cdbc40609f78fc623feb0f43b0f533e99 /libkms
parente2acca4e40c87b00af75a5ffedafc26a099b657c (diff)
android: correcly set LOCAL_EXPORT_C_INCLUDE_DIRS
- Don't add ${hw}/${hw}, but ${hw} to the includes path. The former does not exist. - Set the variable for libkms. Inspired by the work of from Chih-Wei from the Android-x86 project. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'libkms')
-rw-r--r--libkms/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/libkms/Android.mk b/libkms/Android.mk
index d2df32a8..4d41fbca 100644
--- a/libkms/Android.mk
+++ b/libkms/Android.mk
@@ -45,6 +45,8 @@ endif
LOCAL_MODULE := libkms
LOCAL_SHARED_LIBRARIES := libdrm
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
+
LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
LOCAL_COPY_HEADERS_TO := libdrm