part-of-module and quiet_modtag are set for the same targets. Define quiet_modtag based on part-of-module.
Showing the changes to scripts (1 of 1 file). Show all
Unified · Split
| @@ -98,18 +98,13 @@ modkern_cflags = \ · 97 unmodified lines | ||
| 98 | 98 | $(if $(part-of-module), \ |
| 99 | 99 | $(KBUILD_CFLAGS_MODULE) $(CFLAGS_MODULE), \ |
| 100 | 100 | $(KBUILD_CFLAGS_KERNEL) $(CFLAGS_KERNEL)) |
| 101 | −quiet_modtag := $(empty) $(empty) | |
| 101 | +quiet_modtag = $(if $(part-of-module),[M], ) | |
| 102 | 102 | |
| 103 | 103 | $(real-obj-m) : part-of-module := y |
| 104 | 104 | $(real-obj-m:.o=.i) : part-of-module := y |
| 105 | 105 | $(real-obj-m:.o=.s) : part-of-module := y |
| 106 | 106 | $(real-obj-m:.o=.lst): part-of-module := y |
| 107 | 107 | |
| 108 | −$(real-obj-m) : quiet_modtag := [M] | |
| 109 | −$(real-obj-m:.o=.i) : quiet_modtag := [M] | |
| 110 | −$(real-obj-m:.o=.s) : quiet_modtag := [M] | |
| 111 | −$(real-obj-m:.o=.lst): quiet_modtag := [M] | |
| 112 | − | |
| 113 | 108 | quiet_cmd_cc_s_c = CC $(quiet_modtag) $@ |
| 114 | 109 | cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $< |
| 115 | 110 | |