[02/14] batctl: Don't automatically build in parallel
Commit Message
Distributions like Gentoo and Debian have policies which make it
necessary to use some kind of environmental variable to control the
parallel build.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
---
Makefile | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
Comments
On Saturday 21 May 2011 14:28:06 Sven Eckelmann wrote:
> Distributions like Gentoo and Debian have policies which make it
> necessary to use some kind of environmental variable to control the
> parallel build.
Applied in revision b2e3f83.
Thanks,
Marek
@@ -53,10 +53,7 @@ REVISION= $(shell if [ -d .git ]; then \
REVISION_VERSION =\"\ $(REVISION)\"
-NUM_CPUS = $(shell nproc 2> /dev/null || echo 1)
-
-all:
- $(MAKE) -j $(NUM_CPUS) $(BINARY_NAME)
+all: $(BINARY_NAME)
$(BINARY_NAME): $(SRC_O) $(SRC_H) Makefile
$(Q_LD)$(CC) -o $@ $(SRC_O) $(LDFLAGS)