summaryrefslogtreecommitdiff
path: root/nouveau
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 /nouveau
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 'nouveau')
-rw-r--r--nouveau/Android.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/nouveau/Android.mk b/nouveau/Android.mk
index 93c9ec23..8e42c403 100644
--- a/nouveau/Android.mk
+++ b/nouveau/Android.mk
@@ -10,8 +10,7 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SHARED_LIBRARIES := libdrm
LOCAL_SRC_FILES := $(LIBDRM_NOUVEAU_FILES)
-LOCAL_EXPORT_C_INCLUDE_DIRS += \
- $(LOCAL_PATH)/nouveau
+LOCAL_EXPORT_C_INCLUDE_DIRS := $(LOCAL_PATH)
LOCAL_C_INCLUDES := \
$(LIBDRM_TOP) \