diff options
| author | Ilias Apalodimas <[email protected]> | 2025-05-20 08:21:29 +0300 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-05-29 18:42:37 -0600 |
| commit | 88067ffc0c6f8c4f5142a1f8d08a206f3ed49083 (patch) | |
| tree | 2adf7dc3b00b5729792bb2ec4c7dff97b61bdb79 /scripts/Makefile.build | |
| parent | 47b6ab973728bd99247c1bc31d9608304417dd9b (diff) | |
kbuild: refactor quiet_modtag
Backport from kernel
commit 45c4372d00 ("kbuild: refactor quiet_modtag")
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'scripts/Makefile.build')
| -rw-r--r-- | scripts/Makefile.build | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 29446298041..ed58bcab291 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -113,18 +113,13 @@ modkern_cflags = \ $(if $(part-of-module), \ $(KBUILD_CFLAGS_MODULE) $(CFLAGS_MODULE), \ $(KBUILD_CFLAGS_KERNEL) $(CFLAGS_KERNEL)) -quiet_modtag := $(empty) $(empty) +quiet_modtag = $(if $(part-of-module),[M], ) $(real-objs-m) : part-of-module := y $(real-objs-m:.o=.i) : part-of-module := y $(real-objs-m:.o=.s) : part-of-module := y $(real-objs-m:.o=.lst): part-of-module := y -$(real-objs-m) : quiet_modtag := [M] -$(real-objs-m:.o=.i) : quiet_modtag := [M] -$(real-objs-m:.o=.s) : quiet_modtag := [M] -$(real-objs-m:.o=.lst): quiet_modtag := [M] - # Default for not multi-part modules modname = $(basetarget) |
