]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
"make" doesn't like -jN :(
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Jun 2008 22:05:02 +0000 (00:05 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 9 Jun 2008 22:05:02 +0000 (00:05 +0200)
.config-default
tools/make-include

index 23ff267c3ecabf71a16d79685578c740afc9f9cf..c878b3c47b08d90790789adfd1b7bcf1abdafad5 100644 (file)
@@ -53,7 +53,7 @@
 # Read more: http://www.gnu.org/software/automake/manual/make/Parallel.html   #
 ###############################################################################
 
-#PARALLELISMFLAGS=-jN
+#PARALLELISMFLAGS=-j3
 
 ###############################################################################                   
 # Distcc Hosts                                                                #
index 4923d86914a1c1c391f142d8ddffc1a401d56cf9..ac33deb49726c9c3aa495d2cbf18b14ae076f2f6 100644 (file)
@@ -32,7 +32,7 @@ MACHINE_REAL=`uname -m`
 GIT_TAG=$(git tag | tail -1)
 
 # Parallelism flag
-PARALLELISMFLAGS=-jN
+PARALLELISMFLAGS=-j$(( $(grep processor < /proc/cpuinfo | wc -l) * 2 + 1 ))
 DISTCC_HOSTS=localhost
 
 PWD=`pwd`