[Mesa-dev] [PATCH 25/29] android: loader: use the installed libdrm headers

Emil Velikov emil.l.velikov at gmail.com
Tue Jul 29 15:54:37 PDT 2014


One step closer to the way we handle automake builds.

Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/loader/Android.mk | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/loader/Android.mk b/src/loader/Android.mk
index 6890af4..1c6fdae 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
-- 
2.0.2



More information about the mesa-dev mailing list