diff options
| author | Sam Ravnborg <sam@mars.(none)> | 2005-07-27 03:12:07 -0400 |
|---|---|---|
| committer | Sam Ravnborg <sam@mars.(none)> | 2005-07-27 03:12:07 -0400 |
| commit | 23a45e2c0a16bfd80eba853b44717d21c37bcf30 (patch) | |
| tree | e9e4ed73d3ae15994916137b6e6d6b15158f1a58 | |
| parent | e579d351b4bcea0038f5df08fff7160352b2c365 (diff) | |
kbuild: pass less variables to second make invocation when using make O=...
make exports all variables assigned on the command-line, so no need to pass
them explicit.
This fixes http://bugzilla.kernel.org/show_bug.cgi?id=4725
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
| -rw-r--r-- | Makefile | 7 |
1 files changed, 3 insertions, 4 deletions
| @@ -109,10 +109,9 @@ $(if $(KBUILD_OUTPUT),, \ | |||
| 109 | .PHONY: $(MAKECMDGOALS) | 109 | .PHONY: $(MAKECMDGOALS) |
| 110 | 110 | ||
| 111 | $(filter-out _all,$(MAKECMDGOALS)) _all: | 111 | $(filter-out _all,$(MAKECMDGOALS)) _all: |
| 112 | $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \ | 112 | $(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \ |
| 113 | KBUILD_SRC=$(CURDIR) KBUILD_VERBOSE=$(KBUILD_VERBOSE) \ | 113 | KBUILD_SRC=$(CURDIR) \ |
| 114 | KBUILD_CHECK=$(KBUILD_CHECK) KBUILD_EXTMOD="$(KBUILD_EXTMOD)" \ | 114 | KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile $@ |
| 115 | -f $(CURDIR)/Makefile $@ | ||
| 116 | 115 | ||
| 117 | # Leave processing to above invocation of make | 116 | # Leave processing to above invocation of make |
| 118 | skip-makefile := 1 | 117 | skip-makefile := 1 |
