All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/Makefile.in: set .NOTPARALLEL for MAKE1
@ 2022-10-15  0:56 James Hilliard
  2022-10-16 16:26 ` Yann E. MORIN
  0 siblings, 1 reply; 6+ messages in thread
From: James Hilliard @ 2022-10-15  0:56 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard

Make 4.4 introduces a shuffle mode which randomizes prerequisites
in order to better flush out issues with parallel builds, as this
mode randomizes prerequisites even when using -j1 builds we must
instead explicitely mark parallel incompatible builds using the
.NOTPARALLEL special target which disables prerequisites
randomization when running in shuffle mode.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
 package/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/Makefile.in b/package/Makefile.in
index 43d214bcbe..2327849a1f 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -17,7 +17,7 @@ else
 PARALLEL_JOBS := $(BR2_JLEVEL)
 endif
 
-MAKE1 := $(HOSTMAKE) -j1
+MAKE1 := $(HOSTMAKE) --eval .NOTPARALLEL:
 override MAKE = $(HOSTMAKE) \
 	$(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS))
 
-- 
2.34.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-10-16 19:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-15  0:56 [Buildroot] [PATCH 1/1] package/Makefile.in: set .NOTPARALLEL for MAKE1 James Hilliard
2022-10-16 16:26 ` Yann E. MORIN
2022-10-16 16:35   ` Yann E. MORIN
2022-10-16 16:53     ` James Hilliard
2022-10-16 18:46       ` Yann E. MORIN
2022-10-16 19:18         ` James Hilliard

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.