svn commit: trunk/buildroot/package/samba
Author: egtvedt
Date: 2008-12-12 01:29:37 -0800 (Fri, 12 Dec 2008) New Revision: 24390
Log:
samba: make proto first to allow parallel build afterwards
This patch fixes parallel build of Samba. The trick is to make proto before executing a full make.
Modified:
trunk/buildroot/package/samba/samba.mk
Changeset:
Modified: trunk/buildroot/package/samba/samba.mk
===================================================================
buildroot/package/samba/samba.mk +2 -1
@@ -60,7 +60,8 @@ touch $@ $(SAMBA_DIR)/$(SAMBA_BINARY): $(SAMBA_DIR)/.configured - $(MAKE1) -C $(SAMBA_DIR) + $(MAKE) -C $(SAMBA_DIR) proto + $(MAKE) -C $(SAMBA_DIR) SAMBA_TARGETS_ := SAMBA_TARGETS_y :=
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"egtvedt" == egtvedt <[email protected]> writes:
Hi,
egtvedt> Author: egtvedt
egtvedt> Date: 2008-12-12 01:29:37 -0800 (Fri, 12 Dec 2008) egtvedt> New Revision: 24390
egtvedt> Log:
egtvedt> samba: make proto first to allow parallel build afterwards
egtvedt> This patch fixes parallel build of Samba. The trick is to make proto before egtvedt> executing a full make.
egtvedt> $(SAMBA_DIR)/$(SAMBA_BINARY): $(SAMBA_DIR)/.configured
egtvedt> - $(MAKE1) -C $(SAMBA_DIR)
egtvedt> + $(MAKE) -C $(SAMBA_DIR) proto
Shouldn't this then be $(MAKE1) ?
egtvedt> + $(MAKE) -C $(SAMBA_DIR)
Signature · 1 line
Bye, Peter Korsgaard
Quoted 1 line · On Fri, 12 Dec 2008 11:06:26 +0100 Peter Korsgaard <[email protected]> wrote:
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"egtvedt" == egtvedt <[email protected]> writes:
<snipp>
Quoted 6 lines
egtvedt> $(SAMBA_DIR)/$(SAMBA_BINARY): $(SAMBA_DIR)/.configured
egtvedt> - $(MAKE1) -C $(SAMBA_DIR)
egtvedt> + $(MAKE) -C $(SAMBA_DIR) protoShouldn't this then be $(MAKE1) ?
Not needed, it is safe to parallel build the proto stuff. The problem is that the all: rule does not depend properly on proto.
Signature · 2 lines
Best regards, Hans-Christian Egtvedt
Quoted 4 lines
Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Hans-Christian" == Hans-Christian Egtvedt <[email protected]> writes:
Shouldn't this then be $(MAKE1) ?
Hans-Christian> Not needed, it is safe to parallel build the proto stuff. The problem Hans-Christian> is that the all: rule does not depend properly on proto.
Ok, it would probably be handy to add a small comment to explain why it's done like this.
Signature · 1 line
Bye, Peter Korsgaard
Quoted 6 lines · On Fri, 12 Dec 2008 11:29:34 +0100 Peter Korsgaard <[email protected]> wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
"Hans-Christian" == Hans-Christian Egtvedt
<[email protected]> writes:Shouldn't this then be $(MAKE1) ?
Quoted 7 lines
Hans-Christian> Not needed, it is safe to parallel build the proto
stuff. The problem Hans-Christian> is that the all: rule does not depend properly on proto.Ok, it would probably be handy to add a small comment to explain why it's done like this.
Okay, done in r24391.
Signature · 2 lines
Best regards, Hans-Christian Egtvedt