summaryrefslogtreecommitdiff
path: root/radeon
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 /radeon
parente2acca4e40c87b00af75a5ffedafc26a099b657c (diff)
downloadlibdrm-24ac8cd7db201da1cd181b13173a420ff762e533.tar.gz
libdrm-24ac8cd7db201da1cd181b13173a420ff762e533.tar.bz2
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 'radeon')
-rw-r--r--radeon/Android.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/radeon/Android.mk b/radeon/Android.mk
index 71c58bd7..b4065aab 100644
--- a/radeon/Android.mk
+++ b/radeon/Android.mk
@@ -10,8 +10,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libdrm
LOCAL_SRC_FILES := $(LIBDRM_RADEON_FILES)
-LOCAL_EXPORT_C_INCLUDE_DIRS += \
- $(LOCAL_PATH)/radeon
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_C_INCLUDES := \
$(LIBDRM_TOP) \