File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1331,11 +1331,11 @@ kernelversion:
1331
1331
# Clear a bunch of variables before executing the submake
1332
1332
tools/ : FORCE
1333
1333
$(Q ) mkdir -p $(objtree ) /tools
1334
- $(Q )$(MAKE ) LDFLAGS= MAKEFLAGS= O=$(objtree ) subdir=tools -C $(src ) /tools/
1334
+ $(Q )$(MAKE ) LDFLAGS= MAKEFLAGS=" $( filter --j% -j, $( MAKEFLAGS ) ) " O=$(objtree ) subdir=tools -C $(src ) /tools/
1335
1335
1336
1336
tools/% : FORCE
1337
1337
$(Q ) mkdir -p $(objtree ) /tools
1338
- $(Q )$(MAKE ) LDFLAGS= MAKEFLAGS= O=$(objtree ) subdir=tools -C $(src ) /tools/ $*
1338
+ $(Q )$(MAKE ) LDFLAGS= MAKEFLAGS=" $( filter --j% -j, $( MAKEFLAGS ) ) " O=$(objtree ) subdir=tools -C $(src ) /tools/ $*
1339
1339
1340
1340
# Single targets
1341
1341
# ---------------------------------------------------------------------------
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ifndef V
70
70
QUIET_BISON = @echo ' ' BISON $@;
71
71
72
72
descend = \
73
- @echo ' ' DESCEND $(1); \
73
+ + @echo ' ' DESCEND $(1); \
74
74
mkdir -p $(OUTPUT)$(1) && \
75
75
$(MAKE) $(COMMAND_O) subdir=$(if $(subdir),$(subdir)/$(1),$(1)) $(PRINT_DIR) -C $(1) $(2)
76
76
endif
You can’t perform that action at this time.
0 commit comments