2002-06-03 07:28:33

by Adam J. Richter

[permalink] [raw]
Subject: Trivial patch: linux-2.5.20/Rules.make cleanup

There is a stupid make rule in linux-2.5.20/Rules.make
that uses the "@" prefix to disable command echoing, uses that
for a command to echo the command it is going to run, and the
uses the "@" prefix again to execute the same command with.
The following patch replaces those two lines with one
that just executes the command in the normal way, which "make"
will echo anyhow.

Adam J. Richter __ ______________ 575 Oroville Road
[email protected] \ / Milpitas, California 95035
+1 408 309-6081 | g g d r a s i l United States of America
"Free Software For The Rest Of Us."


--- linux-2.5.20/Rules.make 2002-06-02 18:44:47.000000000 -0700
+++ linux/Rules.make 2002-06-02 23:39:37.000000000 -0700
@@ -315,8 +315,7 @@
$(GENKSYMS) $(genksyms_smp_prefix) -k $(VERSION).$(PATCHLEVEL).$(SUBLEVEL) > [email protected]

$(MODINCL)/$(MODPREFIX)%.ver: %.c FORCE
- @echo $(cmd_create_ver)
- @$(cmd_create_ver)
+ $(cmd_create_ver)
@if [ -r $@ ] && cmp -s $@ [email protected]; then \
echo $@ is unchanged; rm -f [email protected]; \
else \