Skip to contentSkip to conversation

kconfig-frontends: fix another build race

PATCH In review Ross Burton 3 participants 4 messages May 26, 2017 – Jun 1, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 ]

---
 meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch +4 -0
index a06a547..a11186e 100644
@@ -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
  
Signature · 1 line
2.8.1
#1 lore raw
Quoted 5 lines · Ross Burton

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 ]

this package should probably be retired from oe-core. I added it as part of eglibc
kconfig support which we have dropped few releases back.

Quoted 28 lines
---
 meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-devtools/kconfig-frontends/files/missing-mkdir.patch +4 -1
index a06a547..a11186e 100644
@@ -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

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw
Quoted 4 lines · Khem Raj

this package should probably be retired from oe-core. I added it as part of eglibc
kconfig support which we have dropped few releases back.

If you added it, and nobody else really wants it, feel free to submit a removal patch.

Ross

#3 lore raw

We use it, so if you want to remove it from OE-core, then please move it to meta-oe.

//Peter

From: [email protected] [mailto:[email protected]] On Behalf Of Burton, Ross
Sent: den 26 maj 2017 18:27
To: Khem Raj <[email protected]>
Cc: Patches and discussions about the oe-core layer <[email protected]>
Subject: Re: [OE-core] [PATCH] kconfig-frontends: fix another build race

On 26 May 2017 at 17:25, Khem Raj <[email protected]<mailto:[email protected]>> wrote:
this package should probably be retired from oe-core. I added it as
part of eglibc
kconfig support which we have dropped few releases back.

If you added it, and nobody else really wants it, feel free to submit a removal patch.

Ross