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)
commita436bb7b806383ae0593cab53d17fc9676270cd3
tree4d51b1a8b5474fd0d3000f5026032efc71a961b0
parent7aacad53aeb57b7ff52399f56eb6d7d4010e72e9
kbuild: use relative path more to include Makefile

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