summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-05-26 17:12:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-03 23:46:06 +0100
commit9a983f0ef9016852182379b224e582cfb2808340 (patch)
tree2061e4aa45cb2c8063fe074b56561fc76366cb3d /meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
parent65dfeb248ba0209fb6b6966e28cb28f1b063fdda (diff)
downloadpoky-9a983f0ef9016852182379b224e582cfb2808340.tar.gz
kconfig-frontends: fix another build race
It is possible that frontends/kconfig is written to by sed before frontends/ exists, so add a mkdir to ensure the directory always exits. [ YOCTO #11574 ] (From OE-Core rev: ad915e9baa04c73981c4795a97da95cea40b50c2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch')
-rw-r--r--meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch b/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
index a06a547d63..a11186e51e 100644
--- a/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
+++ b/meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch
@@ -21,6 +21,10 @@ diff --git a/Makefile.am b/Makefile.am
21index c8e96ef..1baa110 100644 21index c8e96ef..1baa110 100644
22--- a/Makefile.am 22--- a/Makefile.am
23+++ b/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' \
24@@ -348,6 +348,7 @@ EXTRA_DIST += \ 28@@ -348,6 +348,7 @@ EXTRA_DIST += \
25 utils/kconfig-tweak.in.patch 29 utils/kconfig-tweak.in.patch
26 30