From 6b9d7e69ee7fd1162f7ac231a337630d859c493b Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Tue, 13 Sep 2016 01:15:16 +0200 Subject: 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 --- src/gallium/winsys/amdgpu/drm/Android.mk | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/gallium/winsys/amdgpu/drm') 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 -- cgit v1.2.3