]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Wed, 9 Sep 2015 11:49:09 +0000 (13:49 +0200)
commit218c71a7e662702998cbd624c66a1f7966070d0e
tree30223ad2a1c069b7ac0a7b8e8cb6d60da7f524c6
parent0ee45d7e5efb061c21ae3ad8692c32bea77c5b02
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