aboutsummaryrefslogtreecommitdiff
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:45:49 +0100
commitad915e9baa04c73981c4795a97da95cea40b50c2 (patch)
treeadfe010b2c8cb91190f53062075acae3d14460dd
parentac0e9541fe93e866e42914f65a0516b993f0cffe (diff)
downloadopenembedded-core-ad915e9baa04c73981c4795a97da95cea40b50c2.zip
openembedded-core-ad915e9baa04c73981c4795a97da95cea40b50c2.tar.gz
openembedded-core-ad915e9baa04c73981c4795a97da95cea40b50c2.tar.bz2
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 ] Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 a06a547..a11186e 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
index c8e96ef..1baa110 100644
--- a/Makefile.am
+++ b/Makefile.am
+@@ -173,2 +173,3 @@ bin_SCRIPTS += frontends/kconfig
+ frontends/kconfig: frontends/kconfig.in
++ $(MKDIR_P) $(@D)
+ $(AM_V_GEN)$(SED) -e 's/@KCFG_LIST@/$(kcfg_list)/g' \
@@ -348,6 +348,7 @@ EXTRA_DIST += \
utils/kconfig-tweak.in.patch