Android: Fix swrast only build
authorRob Herring <robh@kernel.org>
Wed, 3 May 2017 19:35:18 +0000 (14:35 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 11 May 2017 12:52:21 +0000 (13:52 +0100)
commit88014bc0237ecba69a8a7c1e0f7094644e32c8a9
tree9bc65623f5d39760d31beea5d6288915d4511653
parent1ef913aacfaca03bd951f23c4a60d1fccd5c3b6c
Android: Fix swrast only build

A build of only swrast is broken as the Android EGL now depends on
libdrm as does GBM. While we could make EGL conditionally depend on
libdrm, we probably want to enable kms_dri winsys as well and that will
need libdrm enabled. So just always enable libdrm and simplify the
Android makefiles a bit.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Chih-Wei Huang <cwhuang@linux.org.tw>
[Emil Velikov: drop related inline comment]
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Android.common.mk
src/gallium/auxiliary/pipe-loader/Android.mk
src/gallium/state_trackers/dri/Android.mk