summaryrefslogtreecommitdiffstats
path: root/src/intel/Makefile.vulkan.am
diff options
context:
space:
mode:
authorDylan Baker <[email protected]>2017-02-17 16:59:42 -0800
committerDylan Baker <[email protected]>2017-03-22 16:22:00 -0700
commit383032c70068938575f609fef0d442ba3e4d7c68 (patch)
tree0d344e9dc184439d5d9ce1f6c58674abd37659a7 /src/intel/Makefile.vulkan.am
parenta2a2bad2e263a927ceb22b5b84cf00b15cb504db (diff)
anv: anv_entrypoints_gen.py: directly write files instead of piping
This changes the output to be written as a file rather than being piped. This had one critical advantage, it encapsulates the encoding. This prevents bugs where a symbol (generally unicode like © [copyright]) is printed and the system being built on doesn't have a unicode locale. v2: - Update Android.mk v3: - Don't generate both files at once - Fix Android.mk - drop --outdir, since the filename is passed in as an argument Signed-off-by: Dylan Baker <[email protected]>
Diffstat (limited to 'src/intel/Makefile.vulkan.am')
-rw-r--r--src/intel/Makefile.vulkan.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index bf6b25b4580..96962861d8f 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -25,10 +25,10 @@
vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml
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) > $@
+ $(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) > $@
+ $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py code $@ --xml $(vulkan_api_xml)
BUILT_SOURCES += $(VULKAN_GENERATED_FILES)
CLEANFILES += \