From: Mauro Rossi Date: Thu, 2 Aug 2018 19:07:31 +0000 (+0200) Subject: android: radv: build vulkan.radv conditionally to radeonsi X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1c7a2433b270afb65f044d0cf49cb67715f50b5b;p=mesa.git 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 Signed-off-by: Mauro Rossi Reviewed-by: Emil Velikov Cc: "18.2" --- 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