Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23a45e2c authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

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: default avatarSam Ravnborg <sam@ravnborg.org>
---
parent e579d351
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -110,9 +110,8 @@ $(if $(KBUILD_OUTPUT),, \

$(filter-out _all,$(MAKECMDGOALS)) _all:
	$(if $(KBUILD_VERBOSE:1=),@)$(MAKE) -C $(KBUILD_OUTPUT) \
	KBUILD_SRC=$(CURDIR)	     KBUILD_VERBOSE=$(KBUILD_VERBOSE)	\
	KBUILD_CHECK=$(KBUILD_CHECK) KBUILD_EXTMOD="$(KBUILD_EXTMOD)"	\
        -f $(CURDIR)/Makefile $@
	KBUILD_SRC=$(CURDIR) \
	KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile $@

# Leave processing to above invocation of make
skip-makefile := 1