summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-06-16 16:15:43 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2017-06-19 19:30:41 +0200
commitec5bffa7d21ad2ca9576188dcbe0a85b5b6f5158 (patch)
tree9f8afabebe526ba8bc9b1d449fe667fc8faa96df /meta-oe/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
parent62f6441a663794fd774b68f58f53af382b6931bd (diff)
downloadmeta-openembedded-ec5bffa7d21ad2ca9576188dcbe0a85b5b6f5158.tar.gz
kconfig-frontends: Add recipe
This provides the kconfig infrastructure that is used for the Linux kernel as a standalone package. It is not, however, intended to be used for the kernel itself, but can be used by other packages that are based on kconfig. This is a verbatim copy of the corresponding recipe in OE-core since that recipe is being removed. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch')
-rw-r--r--meta-oe/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch b/meta-oe/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
new file mode 100644
index 0000000000..a11186e51e
--- /dev/null
+++ b/meta-oe/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
@@ -0,0 +1,37 @@
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