Android: fix x86 gallium builds
authorRob Herring <robh@kernel.org>
Tue, 2 Feb 2016 20:45:07 +0000 (14:45 -0600)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 1 Apr 2016 12:44:22 +0000 (13:44 +0100)
commit2d9e0f24e1a13648a9bceb03dbfb438e03c81fd7
tree0d7a53f5b4f459156753e66316d80b4b7b7ddd7f
parentcdf7c6b83dad7eb6a7600af61403315b02dcf13f
Android: fix x86 gallium builds

Builds with gallium enabled fail on x86 with linker error:

external/mesa3d/src/mesa/vbo/vbo_exec_array.c:127: error: undefined reference to '_mesa_uint_array_min_max'

The problem is sse_minmax.c is not included in the libmesa_st_mesa
library. Since the SSE4.1 files are needed for both libmesa_st_mesa
and libmesa_dricore, move SSE4.1 files into a separate static library
that can be used by both.

Cc: "11.1 11.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/Android.libmesa_dricore.mk
src/mesa/Android.libmesa_sse41.mk [new file with mode: 0644]
src/mesa/Android.libmesa_st_mesa.mk
src/mesa/Android.mk
src/mesa/Makefile.sources