]> git.baikalelectronics.ru Git - kernel.git/commit
modpost: drop unused command line switches
authorPaul Walmsley <paul.walmsley@sifive.com>
Thu, 15 Nov 2018 00:56:01 +0000 (16:56 -0800)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 21 Nov 2018 14:57:33 +0000 (23:57 +0900)
commit1f42914c6364de6493c191720091c8b74cbad3ed
tree5bc8eb2daeba52748f9bb56f2067152dcef10ec4
parentecd3ec79a947ecc78255b93ba32007917a15cde0
modpost: drop unused command line switches

Drop modpost command line switches that are no longer used by
makefile.modpost, upon request from Sam Ravnborg <sam@ravnborg.org>,
who wrote:

    modpost is not supposed to be used outside the kernel build. [...]
    I checked if there were any options supported by modpost that
    was not configurable in Makefile.modpost.
    And I could see that the -M and -K options in getopt() were leftovers.
    The code that used these option was dropped in:
    commit 96366a1fed2c ("Kbuild: clear marker out of modpost")

    Could you add a patch that delete these on top of what you already have.

https://lore.kernel.org/lkml/20181020140835.GA3351@ravnborg.org/

Suggested-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/mod/modpost.c