Re: [PATCH 3/3] kbuild: handle C=... and M=... after entering into build directory

2014-10-01 Thread Michal Marek
Dne 9.9.2014 13:02, Masahiro Yamada napsal(a): > sub-make: FORCE > $(Q)$(MAKE) -C $(KBUILD_OUTPUT) KBUILD_SRC=$(CURDIR) \ > - KBUILD_EXTMOD="$(KBUILD_EXTMOD)" -f $(CURDIR)/Makefile \ > - $(filter-out _all sub-make,$(MAKECMDGOALS)) > + -f $(CURDIR)/Makefile $(filter-out _all sub-m

Re: [PATCH 3/3] kbuild: handle C=... and M=... after entering into build directory

2014-09-09 Thread Peter Foley
On Tue, Sep 9, 2014 at 7:02 AM, Masahiro Yamada wrote: > This commit avoids processing C=... and M=... twice > when O=... is also given. > > Besides, we can also remove KBUILD_EXTMOD="$(KBUILD_EXTMOD)" > in the sub-make target. > > Signed-off-by: Masahiro Yamada Acked-by: Peter Foley -- To unsu

[PATCH 3/3] kbuild: handle C=... and M=... after entering into build directory

2014-09-09 Thread Masahiro Yamada
This commit avoids processing C=... and M=... twice when O=... is also given. Besides, we can also remove KBUILD_EXTMOD="$(KBUILD_EXTMOD)" in the sub-make target. Signed-off-by: Masahiro Yamada --- Makefile | 60 +--- 1 file changed, 29 i