Android: rework LLVM build support
authorRob Herring <robh@kernel.org>
Wed, 3 May 2017 19:35:24 +0000 (14:35 -0500)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 11 May 2017 12:52:21 +0000 (13:52 +0100)
commit26aee6f4d5a28350e1f6becfc485ce929c4126f9
tree2c1cc45feae6fc8dec6e3da62de74f4891db8293
parente2ff12e919b5f887083225d96f4060a122c12eab
Android: rework LLVM build support

Currently, building with "mmma external/mesa3d" which builds all targets
and dependencies is broken for targets that require LLVM. This is due to
the build settings depending on MESA_ENABLE_LLVM. Instead of using a
conditional in the global Android.common.mk, make all the components that
need LLVM explicitly include the necessary build settings.

GALLIVM_CPP_SOURCES doesn't exist anymore, so remove that as well.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Android.common.mk
Android.mk
src/amd/Android.common.mk
src/gallium/Android.common.mk
src/gallium/auxiliary/Android.mk
src/gallium/drivers/radeon/Android.mk
src/gallium/drivers/radeonsi/Android.mk
src/gallium/winsys/amdgpu/drm/Android.mk