Re: [PATCH] kbuild: add [M] marker for build log of *.mod.o

From: Masahiro Yamada
Date: Wed Aug 07 2019 - 11:11:10 EST


On Wed, Jul 31, 2019 at 3:14 PM Masahiro Yamada
<yamada.masahiro@xxxxxxxxxxxxx> wrote:
>
> This builds module objects, so [M] makes sense.
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>

Applied to linux-kbuild.


> ---
>
> scripts/Makefile.modpost | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/scripts/Makefile.modpost b/scripts/Makefile.modpost
> index 6e328190d609..6c237af41417 100644
> --- a/scripts/Makefile.modpost
> +++ b/scripts/Makefile.modpost
> @@ -112,7 +112,7 @@ $(modules:.ko=.mod.c): modules-modpost ;
> # modname is set to make c_flags define KBUILD_MODNAME
> modname = $(notdir $(@:.mod.o=))
>
> -quiet_cmd_cc_o_c = CC $@
> +quiet_cmd_cc_o_c = CC [M] $@
> cmd_cc_o_c = $(CC) $(c_flags) $(KBUILD_CFLAGS_MODULE) $(CFLAGS_MODULE) \
> -c -o $@ $<
>
> --
> 2.17.1
>


--
Best Regards
Masahiro Yamada