diff options
author | Ross Burton <ross.burton@intel.com> | 2017-05-26 17:12:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-03 23:46:06 +0100 |
commit | 9a983f0ef9016852182379b224e582cfb2808340 (patch) | |
tree | 2061e4aa45cb2c8063fe074b56561fc76366cb3d /meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch | |
parent | 65dfeb248ba0209fb6b6966e28cb28f1b063fdda (diff) | |
download | poky-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.patch | 4 |
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 | |||
21 | index c8e96ef..1baa110 100644 | 21 | index 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 | ||