summaryrefslogtreecommitdiffstats
path: root/arch/mips/Kbuild.platforms
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2021-11-09 16:01:46 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2021-11-09 16:11:52 +0100
commitcca2aac8acf470b01066f559acd7146fc4c32ae8 (patch)
treecd2d91ee36eb9e3b896fcad983b24f9d52fccf97 /arch/mips/Kbuild.platforms
parentMIPS: fix *-pkg builds for loongson2ef platform (diff)
downloadlinux-cca2aac8acf470b01066f559acd7146fc4c32ae8.tar.xz
linux-cca2aac8acf470b01066f559acd7146fc4c32ae8.zip
MIPS: fix duplicated slashes for Platform file path
platform-y accumulates platform names with a slash appended. The current $(patsubst ...) ends up with doubling slashes. GNU Make still include Platform files, but in case of an error, a clumsy file path is displayed: arch/mips/loongson2ef//Platform:36: *** only binutils >= 2.20.2 have needed option -mfix-loongson2f-nop. Stop. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/Kbuild.platforms')
-rw-r--r--arch/mips/Kbuild.platforms2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms
index 2c57994b5217..30193bcf9caa 100644
--- a/arch/mips/Kbuild.platforms
+++ b/arch/mips/Kbuild.platforms
@@ -37,4 +37,4 @@ platform-$(CONFIG_MACH_TX49XX) += txx9/
platform-$(CONFIG_MACH_VR41XX) += vr41xx/
# include the platform specific files
-include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platform-y))
+include $(patsubst %/, $(srctree)/arch/mips/%/Platform, $(platform-y))