[kbuild-devel] [upatch] tweak for !KBUILD_VERBOSE output

2002-11-03 Thread Peter Samuelson
With !KBUILD_VERBOSE output, you can't tell whether a CC or LD line is for a module or for the kernel proper. Sure, most people probably don't care, but *I* do. Hence this patch. Output: CC vmlinux-object.o CC [M] standalone-module.o CC (M) partial-module.o LD built-in.o

[kbuild-devel] Re: [upatch] tweak for !KBUILD_VERBOSE output

2002-11-03 Thread Peter Samuelson
[I wrote] +quiet_modtag = $(if $(findstring $@,$(obj-m)),[M],$(if $(findstring $@,$(real-objs-m)),(M), )) Actually s/findstring/filter/g is a bit cleaner. Peter --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las

Re: [kbuild-devel] [upatch] tweak for !KBUILD_VERBOSE output

2002-11-03 Thread Sam Ravnborg
On Sun, Nov 03, 2002 at 10:58:26AM -0600, Peter Samuelson wrote: With !KBUILD_VERBOSE output, you can't tell whether a CC or LD line is for a module or for the kernel proper. Sure, most people probably don't care, but *I* do. Hence this patch. Output: CC vmlinux-object.o CC

[kbuild-devel] Re: [upatch] tweak for !KBUILD_VERBOSE output

2002-11-03 Thread Peter Samuelson
[Sam Ravnborg] Nice. Thanks. Does not support CPP or CC -S ... do those even work? Could you please elaborate - what do you impose by CPP and CC -s? Maybe it just too late in my timezone... I'm talking about the built-in rules for .c-.i (preprocessing), .S-.s (preprocessing), and .c-.s