mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
MIPS: fix duplicated slashes for Platform file path
commit cca2aac8ac upstream.
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>
Signed-off-by: Jason Self <jason@bluehome.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1eed13f0ab
commit
70eeeb5aa0
@@ -254,7 +254,9 @@ endif
|
|||||||
#
|
#
|
||||||
# Board-dependent options and extra files
|
# Board-dependent options and extra files
|
||||||
#
|
#
|
||||||
|
ifdef need-compiler
|
||||||
include arch/mips/Kbuild.platforms
|
include arch/mips/Kbuild.platforms
|
||||||
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_PHYSICAL_START
|
ifdef CONFIG_PHYSICAL_START
|
||||||
load-y = $(CONFIG_PHYSICAL_START)
|
load-y = $(CONFIG_PHYSICAL_START)
|
||||||
|
|||||||
Reference in New Issue
Block a user