|
|
@ -119,7 +119,7 @@ endif |
|
|
|
# -----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
# set up default parallelism
|
|
|
|
PARALLEL_JOBS := $$(expr `grep -c ^processor /proc/cpuinfo`) |
|
|
|
PARALLEL_JOBS := $(shell echo $$((1 + `getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1`))) |
|
|
|
override MAKE = make $(if $(findstring j,$(filter-out --%,$(MAKEFLAGS))),,-j$(PARALLEL_JOBS)) |
|
|
|
|
|
|
|
MAKEFLAGS += --no-print-directory |
|
|
|