aboutsummaryrefslogtreecommitdiffstats
path: root/libkms
diff options
context:
space:
mode:
authorEmil Velikov2015-03-17 18:30:08 -0500
committerEmil Velikov2015-03-20 11:59:22 -0500
commit24ac8cd7db201da1cd181b13173a420ff762e533 (patch)
treee2e9a96cdbc40609f78fc623feb0f43b0f533e99 /libkms
parente2acca4e40c87b00af75a5ffedafc26a099b657c (diff)
downloadexternal-libdrm-24ac8cd7db201da1cd181b13173a420ff762e533.tar.gz
external-libdrm-24ac8cd7db201da1cd181b13173a420ff762e533.tar.xz
external-libdrm-24ac8cd7db201da1cd181b13173a420ff762e533.zip
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
45LOCAL_MODULE := libkms 45LOCAL_MODULE := libkms
46LOCAL_SHARED_LIBRARIES := libdrm 46LOCAL_SHARED_LIBRARIES := libdrm
47 47
48LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
49
48LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm 50LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
49 51
50LOCAL_COPY_HEADERS_TO := libdrm 52LOCAL_COPY_HEADERS_TO := libdrm