summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-30 17:33:53 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-01-30 17:33:53 +0000
commitb82245322e04064c097fbdcb1737c084d06b9147 (patch)
treed4db210c0d595c1a26a67fa63a89b4f314d63607
parent446f4f912d098c11226b89c1ab2a637a1ff896a6 (diff)
downloadbuildroot-novena-b82245322e04064c097fbdcb1737c084d06b9147.tar.gz
buildroot-novena-b82245322e04064c097fbdcb1737c084d06b9147.zip
- make absolutely sure that we are not trying to go into jobserver mode for MAKE1
-rw-r--r--package/Makefile.in7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index aca3e4b07..f8557f700 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -1,5 +1,8 @@
-MAKE1=make
-MAKE=make -j$(BR2_JLEVEL)
+ifndef MAKE
+MAKE=make
+endif
+MAKE1:=$(MAKE) MAKE="$(firstword $(MAKE)) -j1"
+MAKE:=$(MAKE) -j$(BR2_JLEVEL)
# Strip off the annoying quoting
ARCH:=$(strip $(subst ",, $(BR2_ARCH)))