android: radv: build vulkan.radv conditionally to radeonsi
authorMauro Rossi <issor.oruam@gmail.com>
Thu, 2 Aug 2018 19:07:31 +0000 (21:07 +0200)
committerMauro Rossi <issor.oruam@gmail.com>
Fri, 3 Aug 2018 18:09:16 +0000 (20:09 +0200)
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>
src/amd/Android.mk

index 6129e360cbf3f992a14973cde212adc473f61b6e..e40e7da01bdef078b97a66e41da0950f22c8d877 100644 (file)
@@ -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