summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-03-02 00:09:46 +0100
committerHarald Welte <laforge@gnumonks.org>2018-03-02 08:56:23 +0000
commitfaa379fc8d035d6cc57c59d173ac615cb5cd948e (patch)
tree40df1996879e6bb9f1283d923b5904c1d20a9afe /Makefile
parent633824739506dc869767a6fc1049e91bf8cd55e3 (diff)
Makefile: use -j8, allow manual PARALLEL_MAKE val
Set default -j to 8: even on a machine with less cores, using -j8 isn't really going to slow down the build. On a machine with eight cores, -j8 is going to speed up significantly. By using '?=', allow passing a different -jN as PARALLEL_MAKE from the enviroment. Change-Id: Idf6a5505742b30d3cb8b80ae98b4e2ad4a4a38e7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3b5995a..8cdbbec 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
SUBDIRS=bsc bsc-nat bts ggsn_tests gprs_gb hlr lapdm mgw msc selftest sgsn sysinfo
-PARALLEL_MAKE:=-j4
+PARALLEL_MAKE ?= -j8
# This master makefile allows you to do things like
# make clean (remove all generated binary, c++ and symlinks)