1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-07 16:59:22 +00:00

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>
This commit is contained in:
Ross Burton
2017-05-26 17:12:58 +01:00
committed by Richard Purdie
parent 65dfeb248b
commit 9a983f0ef9
@@ -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