Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] daemon: fix parallel build
@ 2017-05-08 18:01 Baruch Siach
  2017-05-09 15:14 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Baruch Siach @ 2017-05-08 18:01 UTC (permalink / raw)
  To: buildroot

The 'ready' target creates a symlink in the libslack/ subdirectory to make up
the path to header files. Unfortunately, the target building sources files
that need on that symlink, does not depend on the 'ready' target. This might
break highly parallel builds. As a workaround make the 'ready' target before
making 'all'.

Should fix:
http://autobuild.buildroot.net/results/ed2/ed21ac166f2151aa69a7790a17ff05f05afa512d/
http://autobuild.buildroot.net/results/333/3338539743c8b0399c6b0fcbbb7c28b58bf3f387/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 package/daemon/daemon.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/daemon/daemon.mk b/package/daemon/daemon.mk
index dfa573f42652..79cf3f7aab74 100644
--- a/package/daemon/daemon.mk
+++ b/package/daemon/daemon.mk
@@ -14,6 +14,7 @@ define DAEMON_CONFIGURE_CMDS
 endef
 
 define DAEMON_BUILD_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) ready
 	$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
 endef
 
-- 
2.11.0

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

end of thread, other threads:[~2017-05-09 15:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-08 18:01 [Buildroot] [PATCH] daemon: fix parallel build Baruch Siach
2017-05-09 15:14 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox