From 1c7a2433b270afb65f044d0cf49cb67715f50b5b Mon Sep 17 00:00:00 2001 From: Mauro Rossi Date: Thu, 2 Aug 2018 21:07:31 +0200 Subject: [PATCH] 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" --- src/amd/Android.mk | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2