summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2016-09-13 01:15:16 +0200
committerDave Airlie <[email protected]>2016-09-13 10:06:04 +1000
commit6b9d7e69ee7fd1162f7ac231a337630d859c493b (patch)
treef23f576d19ee68b55414db79876149699a273252 /src/gallium/winsys
parent0fe9152868fd7429aca63c58a0930542b8a95219 (diff)
android: add support for libmesa_amdgpu_addrlib
Android porting of the following commits: f1f1ba3 "radeonsi: move sid.h/r600d_common.h to a common place." 69fca64 "amd/addrlib: move addrlib from amdgpu winsys to common code" This patch fixes android building errors Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/winsys')
-rw-r--r--src/gallium/winsys/amdgpu/drm/Android.mk9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gallium/winsys/amdgpu/drm/Android.mk b/src/gallium/winsys/amdgpu/drm/Android.mk
index 0a261567184..9030a83880d 100644
--- a/src/gallium/winsys/amdgpu/drm/Android.mk
+++ b/src/gallium/winsys/amdgpu/drm/Android.mk
@@ -35,10 +35,11 @@ LOCAL_CFLAGS := \
-DBRAHMA_BUILD=1
LOCAL_C_INCLUDES := \
- $(LOCAL_PATH)/addrlib \
- $(LOCAL_PATH)/addrlib/core \
- $(LOCAL_PATH)/addrlib/inc/chip/r800 \
- $(LOCAL_PATH)/addrlib/r800/chip
+ $(MESA_TOP)/src \
+ $(MESA_TOP)/src/amd \
+ $(MESA_TOP)/src/amd/addrlib/core \
+ $(MESA_TOP)/src/amd/addrlib/inc/chip/r800 \
+ $(MESA_TOP)/src/amd/addrlib/r800/chip
LOCAL_SHARED_LIBRARIES := libdrm_amdgpu
LOCAL_MODULE := libmesa_winsys_amdgpu