summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/files/vulkan-mkdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/files/vulkan-mkdir.patch')
-rw-r--r--meta/recipes-graphics/mesa/files/vulkan-mkdir.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-graphics/mesa/files/vulkan-mkdir.patch b/meta/recipes-graphics/mesa/files/vulkan-mkdir.patch
deleted file mode 100644
index 9922a55b40..0000000000
--- a/meta/recipes-graphics/mesa/files/vulkan-mkdir.patch
+++ /dev/null
@@ -1,41 +0,0 @@
1Upstream-Status: Submitted
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From 4854c72bc21486f81712c8693588f7af6c64cf93 Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Wed, 9 May 2018 20:41:36 +0100
7Subject: [PATCH] src/intel/Makefile.vulkan.am: add missing MKDIR_GEN
8
9Out of tree builds can try to write into a directory that doesn't exist yet:
10
11| Traceback (most recent call last):
12| File "../../../mesa-18.0.2/src/intel/vulkan/anv_icd.py", line 46, in <module>
13| with open(args.out, 'w') as f:
14| IOError: [Errno 2] No such file or directory: 'vulkan/intel_icd.x86_64.json'
15| Makefile:4882: recipe for target 'vulkan/intel_icd.x86_64.json' failed
16
17Add missing MKDIR_GEN calls to solve this.
18---
19 src/intel/Makefile.vulkan.am | 2 ++
20 1 file changed, 2 insertions(+)
21
22diff --git a/src/intel/Makefile.vulkan.am b/src/intel/Makefile.vulkan.am
23index 0bcbf0419c..4125cb205a 100644
24--- a/src/intel/Makefile.vulkan.am
25+++ b/src/intel/Makefile.vulkan.am
26@@ -64,10 +64,12 @@ EXTRA_DIST += \
27 vulkan/TODO
28
29 vulkan/dev_icd.json : vulkan/anv_extensions.py vulkan/anv_icd.py
30+ $(MKDIR_GEN)
31 $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \
32 --lib-path="${abs_top_builddir}/${LIB_DIR}" --out $@
33
34 vulkan/intel_icd.@host_cpu@.json : vulkan/anv_extensions.py vulkan/anv_icd.py
35+ $(MKDIR_GEN)
36 $(AM_V_GEN)$(PYTHON2) $(srcdir)/vulkan/anv_icd.py \
37 --lib-path="${libdir}" --out $@
38
39--
402.11.0
41