anv: automake: ensure that the destination directory is created
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 23 Mar 2017 18:27:29 +0000 (18:27 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Fri, 24 Mar 2017 12:02:04 +0000 (12:02 +0000)
Earlier commit unintentionally dropped the mkdir, as it was rebased.

Some versions of autotools will not create the output directory for
generated sources. Thus the issue went unnoticed by the original author.

Cc: Dylan Baker <dylan@pnwbakers.com>
Cc: Steven Newbury <steve@snewbury.org.uk>
Reported-by: Steven Newbury <steve@snewbury.org.uk> Fixes:
Fixes: 1610b3dede1 ("anv: don't pass xmlfile via stdin anv_entrypoints_gen.py")
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/intel/Makefile.vulkan.am

index da1ee93d91cd7897d33673d80c7614172f93f5f6..ba6ab4fc93fcf5c253d3f39d593f825ee4d28221 100644 (file)
@@ -25,6 +25,7 @@
 vulkan_api_xml = $(top_srcdir)/src/vulkan/registry/vk.xml
 
 vulkan/anv_entrypoints.c: vulkan/anv_entrypoints_gen.py $(vulkan_api_xml)
+       $(MKDIR_GEN)
        $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_entrypoints_gen.py \
                --xml $(vulkan_api_xml) --outdir $(builddir)/vulkan
 vulkan/anv_entrypoints.h: vulkan/anv_entrypoints.c