kbuild: handle C=... and M=... after entering into build directory
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 9 Sep 2014 11:02:24 +0000 (20:02 +0900)
committerMichal Marek <mmarek@suse.cz>
Wed, 1 Oct 2014 20:44:21 +0000 (22:44 +0200)
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 <yamada.m@jp.panasonic.com>
Acked-by: Peter Foley <pefoley2@pefoley.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile

diff --cc Makefile
Simple merge