aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-07-25 03:35:56 +0900
committerMasahiro Yamada <masahiroy@kernel.org>2021-08-10 08:23:39 +0900
commitd8285639550578a1bf2d102391d1a9e08e0586ca (patch)
treeaddd167e43aea63760e7e8d84e2c07b253b73e82 /arch/mips
parentscripts: merge_config: add strict mode to fail upon any redefinition (diff)
downloadlinux-dev-d8285639550578a1bf2d102391d1a9e08e0586ca.tar.xz
linux-dev-d8285639550578a1bf2d102391d1a9e08e0586ca.zip
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>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Makefile b/arch/mips/Makefile
index 653befc1b176..5fd26d514851 100644
--- a/arch/mips/Makefile
+++ b/arch/mips/Makefile
@@ -254,7 +254,7 @@ endif
#
# Board-dependent options and extra files
#
-include arch/mips/Kbuild.platforms
+include $(srctree)/arch/mips/Kbuild.platforms
ifdef CONFIG_PHYSICAL_START
load-y = $(CONFIG_PHYSICAL_START)