From: Mauro Rossi Date: Tue, 18 Aug 2015 09:53:31 +0000 (+0200) Subject: android: fix cflags and includes for amdgpu winsys X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6aaa814995d922d6f9cc68bc26276fd752866ceb;p=mesa.git android: fix cflags and includes for amdgpu winsys Reviewed-by: Edward O'Callaghan Reviewed-by: Emil Velikov --- diff --git a/src/gallium/winsys/amdgpu/drm/Android.mk b/src/gallium/winsys/amdgpu/drm/Android.mk index 7d507aa79c6..57732347eea 100644 --- a/src/gallium/winsys/amdgpu/drm/Android.mk +++ b/src/gallium/winsys/amdgpu/drm/Android.mk @@ -30,6 +30,16 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES := $(C_SOURCES) +LOCAL_CFLAGS := \ + $(AMDGPU_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 + LOCAL_SHARED_LIBRARIES := libdrm libdrm_amdgpu LOCAL_MODULE := libmesa_winsys_amdgpu