summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorChih-Wei Huang <cwhuang@linux.org.tw>2013-04-11 10:41:50 +0300
committerTapani Pälli <tapani.palli@intel.com>2013-04-11 10:41:50 +0300
commit4b3db54505933738ec33f92ec7e2c5304cb18325 (patch)
tree0f834663a3ffee3805593baad1a871106ba8aec1 /Android.mk
parent6acef2e0ae6cfae1817578e5fc22c04105a3a653 (diff)
downloadexternal_drm_gralloc-4b3db54505933738ec33f92ec7e2c5304cb18325.zip
external_drm_gralloc-4b3db54505933738ec33f92ec7e2c5304cb18325.tar.gz
external_drm_gralloc-4b3db54505933738ec33f92ec7e2c5304cb18325.tar.bz2
gralloc_drm: fix building errors with latest mesa
Change-Id: Ifdf23b59542152c364d3ed010a4cc82bbf1a0103 Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 6acf057..9c9cf2c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -120,6 +120,7 @@ ifeq ($(strip $(DRM_USES_PIPE)),true)
LOCAL_SRC_FILES += gralloc_drm_pipe.c
LOCAL_CFLAGS += -DENABLE_PIPE
LOCAL_C_INCLUDES += \
+ external/mesa/include \
external/mesa/src/gallium/include \
external/mesa/src/gallium/winsys \
external/mesa/src/gallium/drivers \
@@ -129,7 +130,7 @@ ifneq ($(filter r600g, $(DRM_GPU_DRIVERS)),)
LOCAL_CFLAGS += -DENABLE_PIPE_R600
LOCAL_STATIC_LIBRARIES += \
libmesa_pipe_r600 \
- libmesa_winsys_r600
+ libmesa_winsys_radeon
endif
ifneq ($(filter vmwgfx, $(DRM_GPU_DRIVERS)),)
LOCAL_CFLAGS += -DENABLE_PIPE_VMWGFX