Skip to content

Commit cca2aac

Browse files
masahir0ytsbogend
authored andcommitted
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 <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent 0706f74 commit cca2aac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/mips/Kbuild.platforms

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ platform-$(CONFIG_MACH_TX49XX) += txx9/
3737
platform-$(CONFIG_MACH_VR41XX) += vr41xx/
3838

3939
# include the platform specific files
40-
include $(patsubst %, $(srctree)/arch/mips/%/Platform, $(platform-y))
40+
include $(patsubst %/, $(srctree)/arch/mips/%/Platform, $(platform-y))

0 commit comments

Comments
 (0)