Re: [PATCH 0/5] kbuild: always define KBUILD_MODNAME, and clean-up/fix modname
From: Cao jin
Date: Fri Mar 09 2018 - 02:34:06 EST
The series build successfully on upstream in my: make allyesconfig and
allmodconfig, so,
Tested-by: Cao jin <caoj.fnst@xxxxxxxxxxxxxx>
--
Sincerely,
Cao jin
On 03/08/2018 09:04 AM, Masahiro Yamada wrote:
>
> 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(-)
>