summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2013-04-24 15:02:10 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2013-04-24 15:02:10 +1000
commit3925988ec2bd5e7db55880255d5d70fb74255fdb (patch)
tree121f4f5cf68537fdcbf0a2fee5f6b0b11fce7ef3 /Makefile
parent104a007a1e60f4e23637e084b4815c4cda3423ce (diff)
parent8e9540ec9e6e0f9951ea89a21930b805eb01fc0a (diff)
Merge remote-tracking branch 'tip/auto-latest'
Conflicts: drivers/clocksource/Makefile include/linux/clockchips.h tools/Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 848d57da2bbb..be648abc8af2 100644
--- a/Makefile
+++ b/Makefile
@@ -1334,11 +1334,11 @@ kernelversion:
# Clear a bunch of variables before executing the submake
tools/: FORCE
$(Q)mkdir -p $(objtree)/tools
- $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= O=$(objtree) subdir=tools -C $(src)/tools/
+ $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/
tools/%: FORCE
$(Q)mkdir -p $(objtree)/tools
- $(Q)$(MAKE) LDFLAGS= MAKEFLAGS= O=$(objtree) subdir=tools -C $(src)/tools/ $*
+ $(Q)$(MAKE) LDFLAGS= MAKEFLAGS="$(filter --j% -j,$(MAKEFLAGS))" O=$(objtree) subdir=tools -C $(src)/tools/ $*
# Single targets
# ---------------------------------------------------------------------------