Android: fix build break from r600/radeon split
authorRob Herring <robh@kernel.org>
Tue, 10 Oct 2017 22:01:29 +0000 (17:01 -0500)
committerRob Herring <robh@kernel.org>
Wed, 11 Oct 2017 02:37:19 +0000 (21:37 -0500)
commite5e93c727f23d0c87e1edf04705d0d0342290536
treeae53e81505d3ac2e4ff8617cee7d788b8543a027
parentc3f75d483c72d4ceb22d32561f8d08bf3e0c8a0b
Android: fix build break from r600/radeon split

Commit 06bfb2d28f7a ("r600: fork and import gallium/radeon") broke the
Android build:

external/mesa3d/src/gallium/drivers/radeon/r600_pipe_common.c:43:10: fatal error: 'llvm-c/TargetMachine.h' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~

Update the Android makefiles so that drivers/radeon is only built when
radeonsi (and therefore LLVM) is enabled.

Fixes: 06bfb2d28f7a (r600: fork and import gallium/radeon)
Acked-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Rob Herring <robh@kernel.org>
src/gallium/Android.mk
src/gallium/drivers/r600/Android.mk
src/gallium/drivers/radeon/Android.mk