diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2018-03-02 00:09:46 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2018-03-02 08:56:23 +0000 |
commit | faa379fc8d035d6cc57c59d173ac615cb5cd948e (patch) | |
tree | 40df1996879e6bb9f1283d923b5904c1d20a9afe | |
parent | 633824739506dc869767a6fc1049e91bf8cd55e3 (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
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |