OSDN Git Service

MIPS: Makefile: Remove "ifdef need-compiler" for Kbuild.platforms
authorTiezhu Yang <yangtiezhu@loongson.cn>
Tue, 14 Dec 2021 03:09:02 +0000 (11:09 +0800)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 14 Dec 2021 09:02:48 +0000 (10:02 +0100)
After commit 13ceb48bc19c ("MIPS: Loongson2ef: Remove unnecessary
{as,cc}-option calls"), no need to use "ifdef need-compiler" for
Kbuild.platforms, because the cause of the build issue mentioned
in commit 0706f74f719e ("MIPS: fix *-pkg builds for loongson2ef
platform") has been disappeared, so just remove it.

Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Makefile

index ace7f03..e036fc0 100644 (file)
@@ -253,9 +253,7 @@ endif
 #
 # Board-dependent options and extra files
 #
-ifdef need-compiler
 include $(srctree)/arch/mips/Kbuild.platforms
-endif
 
 ifdef CONFIG_PHYSICAL_START
 load-y                                 = $(CONFIG_PHYSICAL_START)