[PATCH 0/5] kbuild: always define KBUILD_MODNAME, and clean-up/fix modname

From: Masahiro Yamada
Date: Wed Mar 07 2018 - 20:06:53 EST



3/5 takes into account '-m' case for multi-used-m.

2/5 is necessary beforehand because 3/5 would cause a build error for
drivers/net/ethernet/cavium/liquidio/lio_ethtool.c

1, 4, 5 are just clean-ups.



Cao jin (1):
kbuild: fix modname for composite modules

Masahiro Yamada (4):
kbuild: remove unnecessary $(subst $(obj)/,,...) in modname-multi
kbuild: define KBUILD_MODNAME even if multiple modules share objects
kbuild: simplify modname calculation
kbuild: move modname and modname-multi close to modname_flags

scripts/Makefile.build | 12 ------------
scripts/Makefile.lib | 22 +++++++++-------------
2 files changed, 9 insertions(+), 25 deletions(-)

--
2.7.4