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/targets/dri | |
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/targets/dri')
-rw-r--r-- | src/gallium/targets/dri/Android.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk index fa69b708c13..c666312b779 100644 --- a/src/gallium/targets/dri/Android.mk +++ b/src/gallium/targets/dri/Android.mk @@ -57,6 +57,7 @@ endif LOCAL_STATIC_LIBRARIES += \ libfreedreno_drm \ libfreedreno_ir3 \ + libmesa_gallium \ libpanfrost_bifrost \ libpanfrost_decode \ libpanfrost_encoder \ @@ -79,7 +80,6 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \ libmesa_nir \ libmesa_dri_common \ libmesa_megadriver_stub \ - libmesa_gallium \ libmesa_pipe_loader \ libmesa_util \ libmesa_loader |