kbuild: do not require sub-make for separate output tree builds
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 24 Jul 2021 18:35:56 +0000 (03:35 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 9 Aug 2021 23:23:39 +0000 (08:23 +0900)
commitd8285639550578a1bf2d102391d1a9e08e0586ca
treeaddd167e43aea63760e7e8d84e2c07b253b73e82
parenta325db2d8f1d7e33cdc0152b61c3f14fb06f9893
kbuild: do not require sub-make for separate output tree builds

As explained in commit 3204a7fb98a3 ("kbuild: prefix $(srctree)/ to some
included Makefiles"), I want to stop using --include-dir some day.

I already fixed up the top Makefile, but some arch Makefiles (mips, um,
x86) still include check-in Makefiles without $(srctree)/.

Fix them up so 'need-sub-make := 1' can go away for this case.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Makefile
arch/mips/Makefile
arch/um/Makefile
arch/x86/Makefile