Skip to contentSkip to conversation

Makefile.am: Fix a race condition where ell/ell.h was written before ell/ existed

PATCH In review Adrian Bunk 2 participants 2 messages May 9, 2019 – May 15, 2019 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile.am: Fix a race condition where ell/ell.h was written before ell/ existed

---
 Makefile.am | 1 +
 1 file changed, 1 insertion(+)
Makefile.am +1 -0
index a569c4a3..d2e310d5 100644
@@ -1107,6 +1107,7 @@ ell/internal: Makefile
 	done > $@
 
 ell/ell.h: Makefile
+	$(AM_V_at)$(MKDIR_P) ell
 	$(AM_V_at)echo -n > $@
 	$(AM_V_GEN)for f in $(ell_headers) ; do \
 		echo "#include <$$f>" >> $@ ; \
Signature · 1 line
2.20.1
#1 lore raw

Hi Adrian,

Quoted 4 lines · Adrian Bunk
---
  Makefile.am | 1 +
  1 file changed, 1 insertion(+)

Applied with a slightly tweaked commit message. Thanks!

Regards,
-Denis