summaryrefslogtreecommitdiff
path: root/src/amd
diff options
context:
space:
mode:
authorMauro Rossi <issor.oruam@gmail.com>2018-08-02 21:07:31 +0200
committerMauro Rossi <issor.oruam@gmail.com>2018-08-03 20:09:16 +0200
commit1c7a2433b270afb65f044d0cf49cb67715f50b5b (patch)
treec0466c28fe5c3b52624d2a563d1af286e6792536 /src/amd
parentc72f91debab68d2c0ac7f71807a451b696859afd (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>
Diffstat (limited to 'src/amd')
-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