[Mesa-dev] [PATCH 1/2] android: fix cflags and includes for amdgpu winsys
Mauro Rossi
issor.oruam at gmail.com
Tue Aug 18 02:53:31 PDT 2015
---
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 7d507aa..5773234 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.1.4
More information about the mesa-dev
mailing list