From 6aaa814995d922d6f9cc68bc26276fd752866ceb Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Tue, 18 Aug 2015 11:53:31 +0200 Subject: [PATCH] android: fix cflags and includes for amdgpu winsys Reviewed-by: Edward O'Callaghan Reviewed-by: Emil Velikov --- src/gallium/winsys/amdgpu/drm/Android.mk | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- 2.30.2