summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.vulkan.am
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/Makefile.vulkan.am
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/Makefile.vulkan.am')
-rw-r--r--src/intel/Makefile.vulkan.am14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 28150098769..bf6b25b4580 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -24,15 +24,11 @@
# out and we'll fail at `make dist'
vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml
-vulkan/anv_entrypoints.h: vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
- $(MKDIR_GEN)
- $(AM_V_GEN) cat $(vulkan_api_xml) |\
- $(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py header > $@
-
-vulkan/anv_entrypoints.c: vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
- $(MKDIR_GEN)
- $(AM_V_GEN) cat $(vulkan_api_xml) |\
- $(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py code > $@
+vulkan/anv_entrypoints.h : vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
+ $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py header --xml $(vulkan_api_xml) > $@
+
+vulkan/anv_entrypoints.c : vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
+ $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py code --xml $(vulkan_api_xml) > $@
BUILT_SOURCES += $(VULKAN_GENERATED_FILES)
CLEANFILES += \