summaryrefslogtreecommitdiff
path: root/src/loader/Android.mk
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2014-07-29 00:18:11 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2014-08-13 00:46:56 +0100
commit5f3022e97f252a835af516ec7ba1aba964650330 (patch)
tree52b2e5ac84514d60a54e2f5c45d28ef4578124eb /src/loader/Android.mk
parentdb064b7054f883868f4971791d7a6bd60b563efe (diff)
android: loader: use the installed libdrm headers
One step closer to the way we handle automake builds. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'src/loader/Android.mk')
-rw-r--r--src/loader/Android.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/loader/Android.mk b/src/loader/Android.mk
index 6890af4734..1c6fdaeccc 100644
--- a/src/loader/Android.mk
+++ b/src/loader/Android.mk
@@ -35,11 +35,9 @@ LOCAL_SRC_FILES := \
# swrast only
ifeq ($(MESA_GPU_DRIVERS),swrast)
- LOCAL_CFLAGS += -D__NOT_HAVE_DRM_H
+LOCAL_CFLAGS += -D__NOT_HAVE_DRM_H
else
-LOCAL_C_INCLUDES += \
- $(DRM_TOP)/include/drm \
- $(DRM_TOP)
+LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libdrm
endif
LOCAL_MODULE := libloader