diff options
author | Mauro Rossi <[email protected]> | 2019-11-16 18:39:31 +0100 |
---|---|---|
committer | maurossi <[email protected]> | 2019-12-05 08:08:23 +0000 |
commit | 96aef08dc6f4ea4a79cdf995d867d08e8f838b2a (patch) | |
tree | c2280d470eafb136b31132e23c86eed3963da0fb /src/gallium/drivers/radeonsi/Android.mk | |
parent | 32ebd4207ad9411bc790b5e2c7e8d2a4f21c3d67 (diff) |
android: radeonsi: fix build after vl refactoring (v2)
vl functions moved from radeonsi to gallium/auxiliary/vl have left
android build of radeonsi in broken state.
libmesa_galliumvl static is need to build readeonsi,
gallium_dri building rules are reworked to avoid multiple symbols
and libmesa_galliumvl static dependency is needed in radeonsi.
Here is the changelog:
- android: gallium/auxiliary: add libmesa_galliumvl static
- android: gallium_dri: move libmesa_gallium to static to prevent multiple symbols
- android: radeonsi: fix build after vl refactoring
Fixes the following building error:
external/mesa/src/gallium/drivers/radeonsi/si_uvd.c:47:
error: undefined reference to 'vl_video_buffer_create_as_resource'
clang.real: error: linker command failed with exit code 1 (use -v to see invocation)
Fixes: 86e60bc ("radeonsi: remove si_vid_join_surfaces and use combined planar allocations")
Signed-off-by: Mauro Rossi <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/Android.mk')
-rw-r--r-- | src/gallium/drivers/radeonsi/Android.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/Android.mk b/src/gallium/drivers/radeonsi/Android.mk index 6f81f3f5346..f69b0d9219e 100644 --- a/src/gallium/drivers/radeonsi/Android.mk +++ b/src/gallium/drivers/radeonsi/Android.mk @@ -40,7 +40,9 @@ LOCAL_C_INCLUDES := \ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_amd_common,,)/common \ $(call generated-sources-dir-for,STATIC_LIBRARIES,libmesa_nir,,)/nir -LOCAL_STATIC_LIBRARIES := libmesa_amd_common +LOCAL_STATIC_LIBRARIES := \ + libmesa_amd_common \ + libmesa_galliumvl LOCAL_SHARED_LIBRARIES := libdrm_radeon LOCAL_MODULE := libmesa_pipe_radeonsi |