All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] kconfig-frontends: fix another build race
@ 2017-05-26 16:13 Ross Burton
  2017-05-26 16:25 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Ross Burton @ 2017-05-26 16:13 UTC (permalink / raw)
  To: openembedded-core

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>
---
 meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch | 4 ++++
 1 file changed, 4 insertions(+)

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
  
-- 
2.8.1



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-06-01  8:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-26 16:13 [PATCH] kconfig-frontends: fix another build race Ross Burton
2017-05-26 16:25 ` Khem Raj
2017-05-26 16:27   ` Burton, Ross
2017-06-01  8:04     ` Peter Kjellerstedt

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.