]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: add --include-dir flag only for out-of-tree build
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 14 Sep 2018 06:33:23 +0000 (15:33 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 4 Oct 2018 13:56:01 +0000 (22:56 +0900)
commit0ec2093fe42ea7a1018425c9edcd37fc324493ad
tree8cdacffa9330a8026f9f9a6013096cd9f01107a4
parent25e67c35474710f1f65228d942b9b70b2b20e846
kbuild: add --include-dir flag only for out-of-tree build

The --include-dir flag is used to include check-in Makefiles from
$(objtree) without $(srctree)/ prefix.  Obviously, this is unneeded
for in-tree build.  Add the flag just before changing the working
directory.

This becomes effective after invoking sub-make.  Add a little bit
comments about it.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile