]> git.sur5r.net Git - u-boot/commit
kbuild: use relative path more to include Makefile
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 4 Jul 2015 16:56:57 +0000 (01:56 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:01:55 +0000 (15:01 -0400)
commit4d713be1397ed03b405ad37830208d5ab21268cb
tree820ffdb9662c6a8fb54b2509ed923ca45a30de8f
parentba84de9f13a150414e079c89566790e1c0c433df
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.

This was imported from Linux (commit a436bb7b8063) and adjusted for
U-Boot.

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