summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Rossi <issor.oruam@gmail.com>2018-08-02 21:07:31 +0200
committerAndres Gomez <agomez@igalia.com>2018-08-06 15:44:06 +0300
commitbbeb78620c02d41bc59a81eacc70a03509ae4f8c (patch)
treee6efd1402616ec5eab976c4804b9064a57a969a6
parent9ddff68f6fae40308d3a38f0146f4e139e8b2e1b (diff)
android: radv: build vulkan.radv conditionally to radeonsi
A problem was reported with arm,arm64 targets build due to missing libLLVM shared library dependency with AOSP; to avoid this issue vulkan.radv is built conditionally only when radeonsi is in BOARD_GPU_DRIVERS Fixes: 0ca153f869 ("android: radv: enable build of vulkan.radv HAL module") Reported-by: John Stultz <john.stultz@linaro.org> Signed-off-by: Mauro Rossi <issor.oruam@gmail.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Cc: "18.2" <mesa-stable@lists.freedesktop.org> (cherry picked from commit 1c7a2433b270afb65f044d0cf49cb67715f50b5b)
-rw-r--r--src/amd/Android.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/amd/Android.mk b/src/amd/Android.mk
index 6129e360cbf..e40e7da01bd 100644
--- a/src/amd/Android.mk
+++ b/src/amd/Android.mk
@@ -27,4 +27,6 @@ include $(LOCAL_PATH)/Makefile.sources
include $(LOCAL_PATH)/Android.addrlib.mk
include $(LOCAL_PATH)/Android.common.mk
+ifneq ($(filter radeonsi,$(BOARD_GPU_DRIVERS)),)
include $(LOCAL_PATH)/vulkan/Android.mk
+endif