]> 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)
commitc28b83d3d378de54c5e29e5621ecc78e11223e7e
tree8cdacffa9330a8026f9f9a6013096cd9f01107a4
parent599d7bbdd61204db95cb492d3ceea07d131fb7a7
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