summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Rossi <[email protected]>2018-08-02 21:07:31 +0200
committerMauro Rossi <[email protected]>2018-08-03 20:09:16 +0200
commit1c7a2433b270afb65f044d0cf49cb67715f50b5b (patch)
treec0466c28fe5c3b52624d2a563d1af286e6792536
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 <[email protected]> Signed-off-by: Mauro Rossi <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Cc: "18.2" <[email protected]>
-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