[02/13] vis: Don't automatically build in parallel

Message ID 1305985517-3763-2-git-send-email-sven@narfation.org (mailing list archive)
State Accepted, archived
Commit 21f0d6faa338d075ee584699daf483c53b2dccc8
Headers

Commit Message

Sven Eckelmann May 21, 2011, 1:45 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>
---
This patch depends on other patches submitted earlier:
 - vis: Remove obsolete creation of source packages
 - vis: Remove subversion/svk revision information

 Makefile |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
  

Patch

diff --git a/Makefile b/Makefile
index 6867a5f..b3a7963 100644
--- a/Makefile
+++ b/Makefile
@@ -49,11 +49,7 @@  REVISION= $(shell      if [ -d .git ]; then \
                         fi)
 REVISION_VERSION=\"\ $(REVISION)\"
 
-NUM_CPUS = $(shell NUM_CPUS=`cat /proc/cpuinfo | grep -v 'model name' | grep processor | tail -1 | awk -F' ' '{print $$3}'`;echo `expr $$NUM_CPUS + 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)