summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/nouveau/drm
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2014-07-20 21:18:34 +0100
committerEmil Velikov <[email protected]>2014-08-13 00:46:52 +0100
commit6b510c63383a421eabe0d6e7b0249dbab85cffde (patch)
tree937065d69efb3ae7085b49d8b5cc0ffb6784a21e /src/gallium/winsys/nouveau/drm
parentb26017fad82af73b91da1e132256e8304bb60c4d (diff)
android: gallium/nouveau: fix include folders, link against libstlport
nouveau uses STL for a while now thus we need to include external/stlport/libstlport.mk in order to get the build at least partially working. v2: Use the installed libdrm headers over the DRM_TOP ones. Cc: "10.1 10.2" <[email protected]> Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/gallium/winsys/nouveau/drm')
-rw-r--r--src/gallium/winsys/nouveau/drm/Android.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gallium/winsys/nouveau/drm/Android.mk b/src/gallium/winsys/nouveau/drm/Android.mk
index 2e2a9d12d36..142cc6bc387 100644
--- a/src/gallium/winsys/nouveau/drm/Android.mk
+++ b/src/gallium/winsys/nouveau/drm/Android.mk
@@ -30,10 +30,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := $(C_SOURCES)
-LOCAL_C_INCLUDES := \
- $(DRM_TOP) \
- $(DRM_TOP)/include/drm \
- $(DRM_TOP)/nouveau
+LOCAL_C_INCLUDES := $(TARGET_OUT_HEADERS)/libdrm
LOCAL_MODULE := libmesa_winsys_nouveau