[Kai Germaschewski]
> Well, it's not that my life depends on it ;)

Heh.

> But I see the non-verbose mode as an abbreviated view of what
> happens, and normally you cannot see the difference between module or
> part of module, so it appears inconsistent to have that distinction
> in the short view?

Same amount of screen space, just as readable, more information.
What's not to like?  Well, you're the one who'll have to merge this to
Linus, so I've switched it.

> You can do := $(empty)  $(empty), which maybe looks a little less
> magical ;)

Done.

--- 2.5.45/scripts/Makefile.build~      2002-11-03 07:44:20.000000000 -0600
+++ 2.5.45/scripts/Makefile.build       2002-11-04 18:35:59.000000000 -0600
@@ -53,11 +53,19 @@
 
 # Default is built-in, unless we know otherwise
 modkern_cflags := $(CFLAGS_KERNEL)
+quiet_modtag := $(empty)   $(empty)
 
 $(real-objs-m)        : modkern_cflags := $(CFLAGS_MODULE)
 $(real-objs-m:.o=.i)  : modkern_cflags := $(CFLAGS_MODULE)
 $(real-objs-m:.o=.lst): modkern_cflags := $(CFLAGS_MODULE)
 
+$(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]
+$(obj-m)              : quiet_modtag := [M]
+$(obj-m:.o=.lst)      : quiet_modtag := [M]
+
 $(export-objs)        : export_flags   := $(EXPORT_FLAGS)
 $(export-objs:.o=.i)  : export_flags   := $(EXPORT_FLAGS)
 $(export-objs:.o=.s)  : export_flags   := $(EXPORT_FLAGS)
@@ -68,19 +76,19 @@
          -DKBUILD_BASENAME=$(subst $(comma),_,$(subst -,_,$(*F))) \
          $(export_flags) 
 
-quiet_cmd_cc_s_c = CC      $@
+quiet_cmd_cc_s_c = CC $(quiet_modtag)  $@
 cmd_cc_s_c       = $(CC) $(c_flags) -S -o $@ $< 
 
 %.s: %.c FORCE
        $(call if_changed_dep,cc_s_c)
 
-quiet_cmd_cc_i_c = CPP     $@
+quiet_cmd_cc_i_c = CPP $(quiet_modtag) $@
 cmd_cc_i_c       = $(CPP) $(c_flags)   -o $@ $<
 
 %.i: %.c FORCE
        $(call if_changed_dep,cc_i_c)
 
-quiet_cmd_cc_o_c = CC      $@
+quiet_cmd_cc_o_c = CC $(quiet_modtag)  $@
 cmd_cc_o_c       = $(CC) $(c_flags) -c -o $@ $<
 
 %.o: %.c FORCE
@@ -103,13 +111,13 @@
 a_flags = -Wp,-MD,$(depfile) $(AFLAGS) $(NOSTDINC_FLAGS) \
          $(modkern_aflags) $(EXTRA_AFLAGS) $(AFLAGS_$(*F).o)
 
-quiet_cmd_as_s_S = CPP     $@
+quiet_cmd_as_s_S = CPP $(quiet_modtag) $@
 cmd_as_s_S       = $(CPP) $(a_flags)   -o $@ $< 
 
 %.s: %.S FORCE
        $(call if_changed_dep,as_s_S)
 
-quiet_cmd_as_o_S = AS      $@
+quiet_cmd_as_o_S = AS $(quiet_modtag)  $@
 cmd_as_o_S       = $(CC) $(a_flags) -c -o $@ $<
 
 %.o: %.S FORCE
@@ -156,7 +164,7 @@
 # Rule to link composite objects
 #
 
-quiet_cmd_link_multi = LD      $@
+quiet_cmd_link_multi = LD $(quiet_modtag)  $@
 cmd_link_multi = $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) -r -o $@ $(filter $(addprefix 
$(obj)/,$($(subst $(obj)/,,$(@:.o=-objs))) $($(subst $(obj)/,,$(@:.o=-y)))),$^)
 
 # We would rather have a list of rules like


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to