lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.14 790/849] MIPS: fix duplicated slashes for Platform file path
    Date
    From: Masahiro Yamada <masahiroy@kernel.org>

    commit cca2aac8acf470b01066f559acd7146fc4c32ae8 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>
    ---
    arch/mips/Makefile | 2 ++
    1 file changed, 2 insertions(+)

    --- a/arch/mips/Makefile
    +++ b/arch/mips/Makefile
    @@ -254,7 +254,9 @@ endif
    #
    # Board-dependent options and extra files
    #
    +ifdef need-compiler
    include arch/mips/Kbuild.platforms
    +endif

    ifdef CONFIG_PHYSICAL_START
    load-y = $(CONFIG_PHYSICAL_START)

    \
     
     \ /
      Last update: 2021-11-16 00:39    [W:3.479 / U:1.304 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site