Android: move drivers' symlinks to /vendor (v2)
authorMauro Rossi <issor.oruam@gmail.com>
Fri, 27 Oct 2017 19:54:14 +0000 (21:54 +0200)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 30 Oct 2017 15:41:31 +0000 (15:41 +0000)
commit7dae419aa7c34af820c08896acef3b65d855188e
tree0007377e001656f83ad4aacc8cde12cd4b6e0433
parentfc7816fd4ed33c7909345a5fbffac48d3afcc7fe
Android: move drivers' symlinks to /vendor (v2)

Having moved gallium_dri.so library to /vendor/lib/dri
also symlinks need to be coherently created using TARGET_OUT_VENDOR instead of TARGET_OUT
or all non Intel drivers will not be loaded with Android N and earlier,
thus causing SurfaceFlinger SIGABRT

(v2) simplification of post install command

Fixes: c3f75d483c ("Android: move libraries to /vendor")
Cc: 17.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com> (v1)
Reviewed-by: Rob Herring <robh@kernel.org> (v1)
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/gallium/targets/dri/Android.mk