kbuild: use relative path more to include Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 27 Mar 2015 11:43:36 +0000 (20:43 +0900)
committerMichal Marek <mmarek@suse.cz>
Thu, 2 Apr 2015 14:42:08 +0000 (16:42 +0200)
Prior to this commit, it was impossible to use relative path to
include Makefiles from the top level Makefile because the option
"--include-dir=$(srctree)" becomes effective when Make enters into
sub Makefiles.

To use relative path in any places, this commit moves the option
above the "sub-make" target.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Makefile
arch/mips/Makefile
arch/um/Makefile
arch/x86/Makefile
arch/x86/Makefile.um

diff --cc Makefile
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge