summaryrefslogtreecommitdiffstats
path: root/src/intel/Android.vulkan.mk
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-02-17 11:41:03 -0800
committerDylan Baker <[email protected]>2017-03-22 16:22:00 -0700
commit1610b3dede1d0d3246bd803f80ec5f2843668cda (patch)
tree652a5a84c5f7882b33f354d61c6b83e619dd626d /src/intel/Android.vulkan.mk
parent8017da8dd20e1b58573f5357730900d6ab0e1427 (diff)
anv: don't pass xmlfile via stdin anv_entrypoints_gen.py
It's slow, and has the potential for encoding issues. v2: - pass xml file location via argument - update Android.mk Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/intel/Android.vulkan.mk')
-rw-r--r--src/intel/Android.vulkan.mk6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/intel/Android.vulkan.mk b/src/intel/Android.vulkan.mk
index d2e1348644f..0b6462e322e 100644
--- a/src/intel/Android.vulkan.mk
+++ b/src/intel/Android.vulkan.mk
@@ -59,8 +59,7 @@ $(intermediates)/vulkan/dummy.c:
$(hide) touch $@
$(intermediates)/vulkan/anv_entrypoints.h:
- @mkdir -p $(dir $@)
- $(hide) cat $(MESA_TOP)/src/vulkan/registry/vk.xml | $(VK_ENTRYPOINTS_SCRIPT) header > $@
+ $(VK_ENTRYPOINTS_SCRIPT) header --xml $(MESA_TOP)/src/vulkan/registry/vk.xml > $@
LOCAL_EXPORT_C_INCLUDE_DIRS := \
$(intermediates)
@@ -180,8 +179,7 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
LOCAL_GENERATED_SOURCES += $(intermediates)/vulkan/anv_entrypoints.c
$(intermediates)/vulkan/anv_entrypoints.c:
- @mkdir -p $(dir $@)
- $(hide) cat $(MESA_TOP)/src/vulkan/registry/vk.xml | $(VK_ENTRYPOINTS_SCRIPT) code > $@
+ $(VK_ENTRYPOINTS_SCRIPT) code --xml $(MESA_TOP)/src/vulkan/registry/vk.xml > $@
LOCAL_SHARED_LIBRARIES := libdrm_intel