Skip to contentSkip to conversation

Trivial patch: linux-2.5.20/Rules.make cleanup

PATCH Adam J. Richter 1 participant 1 message Jun 3, 2002

lore
Share & tools
lore
#0 lore raw

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."

Rules.make +1 -2
@@ -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 \