android: freedreno: move a2xx disasm out of gallium
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 31 Jul 2020 07:19:56 +0000 (09:19 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Sun, 2 Aug 2020 19:40:21 +0000 (21:40 +0200)
commitb54afde3ad631b33b42812c9ebf2225d9c53e38e
tree2bc4d351b6f1e33d72c52328bce8775beb6e1498
parentca114e62735b04a5beccb09fb40a787f63e8324a
android: freedreno: move a2xx disasm out of gallium

Fixes the following building errors:

clang: error: no such file or directory: 'external/mesa/src/gallium/drivers/freedreno/a2xx/disasm-a2xx.c'
clang: error: no input files

FAILED: out/target/product/x86_64/obj/SHARED_LIBRARIES/gallium_dri_intermediates/LINKED/gallium_dri.so
ld.lld: error: undefined symbol: disasm_a2xx
>>> referenced by ir2_assemble.c:546 (external/mesa/src/gallium/drivers/freedreno/a2xx/ir2_assemble.c:546)
>>>               ir2_assemble.o:(assemble) in archive out/target/product/x86_64/obj/STATIC_LIBRARIES/libmesa_pipe_freedreno_intermediates/libmesa_pipe_freedreno.a
clang-9: error: linker command failed with exit code 1 (use -v to see invocation)

Fixes: f39afda1a7a ("freedreno: move a2xx disasm out of gallium")
Signed-off-by: Mauro Rossi <issor.oruam@gmail.com>
Acked-by: Rob Clark <robdclark@gmail.com>
Acked-by: Eric Engestrom <eric@engestrom.ch>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6151>
src/freedreno/Android.ir2.mk [new file with mode: 0644]
src/freedreno/Android.mk
src/freedreno/Makefile.sources
src/gallium/drivers/freedreno/Makefile.sources
src/gallium/targets/dri/Android.mk
src/gallium/winsys/freedreno/drm/Android.mk