Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Masahiro Yamada and committed by
Thomas Bogendoerfer
cca2aac8 0706f74f

+1 -1
+1 -1
arch/mips/Kbuild.platforms
··· 37 37 platform-$(CONFIG_MACH_VR41XX) += vr41xx/ 38 38 39 39 # include the platform specific files 40 - include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platform-y)) 40 + include $(patsubst %/, $(srctree)/arch/mips/%/Platform, $(platform-y))