From 6ef9bea734f7aae36b74ef5cf43712f3cb2ed943 Mon Sep 17 00:00:00 2001 From: Tapani Pälli Date: Thu, 14 Sep 2017 09:57:40 +0300 Subject: anv: Install as Vulkan HAL module in Android.mk build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Now that anvil fully implements the Vulkan HAL interface, we can install it as the vendor HAL module at /vendor/lib/hw/vulkan.${board}.so. To do so: - Rename LOCAL_MODULE to vulkan.$(TARGET_BOARD_PLATFORM). - Use LOCAL_PROPRIETARY_MODULE to install under vendor path. Tested by running different Sascha Williams demos on Android-IA. Signed-off-by: Tapani Pälli [chadv: Extract this hunk from Tapani's patch, and embed it as stand-alone patch in my arc-vulkan series]. Signed-off-by: Chad Versace Reviewed-by: Jason Ekstrand --- src/intel/Android.vulkan.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/intel') diff --git a/src/intel/Android.vulkan.mk b/src/intel/Android.vulkan.mk index b9a0446f724..32b4892e174 100644 --- a/src/intel/Android.vulkan.mk +++ b/src/intel/Android.vulkan.mk @@ -239,8 +239,10 @@ include $(BUILD_STATIC_LIBRARY) include $(CLEAR_VARS) -LOCAL_MODULE := libvulkan_intel +LOCAL_MODULE := vulkan.$(TARGET_BOARD_PLATFORM) LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_PROPRIETARY_MODULE := true +LOCAL_MODULE_RELATIVE_PATH := hw LOCAL_LDFLAGS += -Wl,--build-id=sha1 -- cgit v1.2.3