[Mesa-dev] [PATCH 21/20] anv: Install as Vulkan HAL module in Android.mk build
Chad Versace
chadversary at chromium.org
Thu Sep 14 21:53:41 UTC 2017
From: Tapani Pälli <tapani.palli at intel.com>
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 <tapani.palli at intel.com>
[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 <chadversary at chromium.org>
---
src/intel/Android.vulkan.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/intel/Android.vulkan.mk b/src/intel/Android.vulkan.mk
index dcd6d8b68a..2aad968f32 100644
--- a/src/intel/Android.vulkan.mk
+++ b/src/intel/Android.vulkan.mk
@@ -248,8 +248,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_CFLAGS := -DLOG_TAG=\"INTEL-MESA\"
--
2.13.0
More information about the mesa-dev
mailing list