diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-07-26 20:37:34 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-07-26 20:37:34 +0200 |
commit | 0cedc6b3fe775ccb814ee3393d4695909bcc7ece (patch) | |
tree | 437bd09d1f1b40bcf6430a2e851621ac2f9c6d1a /buildlib | |
parent | ee7ddf1294fca70088f8dcc15bf87323870bd417 (diff) |
reenable automatic parallel build of APT
It works for a while now in manual tests, now lets see how it will
perform if enabled for all by default automatically.
Diffstat (limited to 'buildlib')
-rw-r--r-- | buildlib/defaults.mak | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/buildlib/defaults.mak b/buildlib/defaults.mak index 5b970876a..599b9ed85 100644 --- a/buildlib/defaults.mak +++ b/buildlib/defaults.mak @@ -172,12 +172,11 @@ ifeq ($(NUM_PROCS),1) PARALLEL_RUN=no endif -# mvo: commented out, lead to build failures in the arch-build target -#ifndef PARALLEL_RUN -# PARALLEL_RUN=yes -# .EXPORT: PARALLEL_RUN -# # handle recursion -# ifneq ($(NUM_PROCS),) -# MAKEFLAGS += -j $(NUM_PROCS) -# endif -#endif +ifndef PARALLEL_RUN + PARALLEL_RUN=yes + export PARALLEL_RUN + # handle recursion + ifneq ($(NUM_PROCS),) + MAKEFLAGS += -j $(NUM_PROCS) + endif +endif |