summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch')
-rw-r--r--meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch37
1 files changed, 0 insertions, 37 deletions
diff --git a/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch b/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
deleted file mode 100644
index a11186e51e..0000000000
--- a/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
+++ /dev/null
@@ -1,37 +0,0 @@
1Upstream-Status: Submitted
2Signed-off-by: Ross Burton <ross.burton@intel.com>
3
4From ca05ee2fb6db5b3b1edc16dba6150a2c6078a6cf Mon Sep 17 00:00:00 2001
5From: Ross Burton <ross.burton@intel.com>
6Date: Tue, 9 May 2017 15:30:00 +0100
7Subject: [PATCH] Makefile: ensure utils/ exists before writing to it
8
9Since utils/ was changed to not build recursively it's possible that in
10out-of-tree builds the utils/ directory hasn't been created when Make runs the
11utils/kconfig-tweak target which tries to write to file inside utils/.
12
13To ensure this can work, mkdir the directory.
14
15Signed-off-by: Ross Burton <ross.burton@intel.com>
16---
17 Makefile.am | 1 +
18 1 file changed, 1 insertion(+)
19
20diff --git a/Makefile.am b/Makefile.am
21index c8e96ef..1baa110 100644
22--- a/Makefile.am
23+++ b/Makefile.am
24@@ -173,2 +173,3 @@ bin_SCRIPTS += frontends/kconfig
25 frontends/kconfig: frontends/kconfig.in
26+ $(MKDIR_P) $(@D)
27 $(AM_V_GEN)$(SED) -e 's/@KCFG_LIST@/$(kcfg_list)/g' \
28@@ -348,6 +348,7 @@ EXTRA_DIST += \
29 utils/kconfig-tweak.in.patch
30
31 utils/kconfig-tweak: utils/kconfig-tweak.in
32+ $(MKDIR_P) $(@D)
33 $(AM_V_GEN)$(SED) -e "s/@CONFIG_@/$(config_prefix)/g" \
34 $< >$@
35 @chmod +x $@
36--
372.8.1