[Mesa-dev] [PATCH 05/14] egl/main: resolve radeon+android linking issues

Emil Velikov emil.l.velikov at gmail.com
Mon Jul 21 03:40:24 PDT 2014


From: Paulo Sergio Travaglia <pstglia at gmail.com>

 - link against libdrm_radeon
 - link the r600 driver against libstlport
 - linkin the newly added libmesa_pipe_radeon library
required by r600 and radeonsi drivers

Cc: "10.1 10.2" <mesa-stable at lists.freedesktop.org>
[Emil Velikov] Split up and add commit message.
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 src/egl/main/Android.mk | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/egl/main/Android.mk b/src/egl/main/Android.mk
index 4d1a21d..bd45a54 100644
--- a/src/egl/main/Android.mk
+++ b/src/egl/main/Android.mk
@@ -102,16 +102,21 @@ endif
 # r300g/r600g/radeonsi
 ifneq ($(filter r300g r600g radeonsi, $(MESA_GPU_DRIVERS)),)
 gallium_DRIVERS += libmesa_winsys_radeon
+LOCAL_SHARED_LIBRARIES += libdrm_radeon
 ifneq ($(filter r300g, $(MESA_GPU_DRIVERS)),)
 gallium_DRIVERS += libmesa_pipe_r300
 endif
+ifneq ($(filter r600g radeonsi, $(MESA_GPU_DRIVERS)),)
+gallium_DRIVERS += libmesa_pipe_radeon
 ifneq ($(filter r600g, $(MESA_GPU_DRIVERS)),)
 gallium_DRIVERS += libmesa_pipe_r600
+LOCAL_SHARED_LIBRARIES += libstlport
 endif
 ifneq ($(filter radeonsi, $(MESA_GPU_DRIVERS)),)
 gallium_DRIVERS += libmesa_pipe_radeonsi
 endif
 endif
+endif
 
 # vmwgfx
 ifneq ($(filter vmwgfx, $(MESA_GPU_DRIVERS)),)
-- 
2.0.0



More information about the mesa-dev mailing list