diff mbox series

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

Message ID 20190731061358.30117-1-yamada.masahiro@socionext.com
State Accepted
Commit f6545bec969358eace40419aff26a2a236e0b813
Headers show
Series kbuild: add [M] marker for build log of *.mod.o | expand

Commit Message

Masahiro Yamada July 31, 2019, 6:13 a.m. UTC
This builds module objects, so [M] makes sense.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 scripts/Makefile.modpost | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.17.1

Comments

Masahiro Yamada Aug. 7, 2019, 3:10 p.m. UTC | #1
On Wed, Jul 31, 2019 at 3:14 PM Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
>

> This builds module objects, so [M] makes sense.

>

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


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
diff mbox series

Patch

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 $@ $<