[02/14] batctl: Don't automatically build in parallel

Message ID 1305980898-30494-2-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit b2e3f83a290334d272f3c4a7ea7d834750a6f7d3
Headers

Commit Message

Sven Eckelmann May 21, 2011, 12:28 p.m. UTC
  Distributions like Gentoo and Debian have policies which make it
necessary to use some kind of environmental variable to control the
parallel build.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
 Makefile |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
  

Comments

Marek Lindner May 22, 2011, 9:32 a.m. UTC | #1
On Saturday 21 May 2011 14:28:06 Sven Eckelmann wrote:
> Distributions like Gentoo and Debian have policies which make it
> necessary to use some kind of environmental variable to control the
> parallel build.

Applied in revision b2e3f83.

Thanks,
Marek
  

Patch

diff --git a/Makefile b/Makefile
index 3b9e853..61a81fb 100644
--- a/Makefile
+++ b/Makefile
@@ -53,10 +53,7 @@  REVISION= $(shell	if [ -d .git ]; then \
 
 REVISION_VERSION =\"\ $(REVISION)\"
 
-NUM_CPUS = $(shell nproc 2> /dev/null || echo 1)
-
-all:
-	$(MAKE) -j $(NUM_CPUS) $(BINARY_NAME)
+all: $(BINARY_NAME)
 
 $(BINARY_NAME): $(SRC_O) $(SRC_H) Makefile
 	$(Q_LD)$(CC) -o $@ $(SRC_O) $(LDFLAGS)