aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <[email protected]>2018-05-09 21:48:43 +0100
committerJuan A. Suarez Romero <[email protected]>2018-05-15 11:14:49 +0200
commit3c0ca29ff0caf8bfc2e03c65ec5c218a3b686d35 (patch)
treed12501de45d581d86c41a7c62cf928855b9557b5
parent43688542600a848892116c1feb4a10973361711b (diff)
src/intel/Makefile.vulkan.am: add missing MKDIR_GEN
Out of tree builds can try to write into a directory that doesn't exist yet: | Traceback (most recent call last): | File "../../../mesa-18.0.2/src/intel/vulkan/anv_icd.py", line 46, in <module> | with open(args.out, 'w') as f: | IOError: [Errno 2] No such file or directory: 'vulkan/intel_icd.x86_64.json' | Makefile:4882: recipe for target 'vulkan/intel_icd.x86_64.json' failed Add missing MKDIR_GEN calls to solve this. Cc: <[email protected]> Reviewed-by: Matt Turner <[email protected]> (cherry picked from commit 1755654d9f533240dc19954b0dbccaf74e645265)
-rw-r--r--src/intel/Makefile.vulkan.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
index 23fa877e77d..cab7f8c50e3 100644
--- a/src/intel/Makefile.vulkan.am
+++ b/src/intel/Makefile.vulkan.am
@@ -71,10 +71,12 @@ EXTRA_DIST += \
vulkan/TODO
vulkan/dev_icd.json : vulkan/anv_extensions.py vulkan/anv_icd.py
+ $(MKDIR_GEN)
$(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \
--lib-path="${abs_top_builddir}/${LIB_DIR}" --out $@
vulkan/intel_icd.@[email protected] : vulkan/anv_extensions.py vulkan/anv_icd.py
+ $(MKDIR_GEN)
$(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \
--lib-path="${libdir}" --out $@