Skip to contentSkip to conversation

Trivial Makefile patch

PATCH New Art Haas 1 participant 1 message Dec 24, 2004

lore
Share & tools
lore

Art Haas

author
#0 lore raw

PATCH 1/1 Trivial Makefile patch

Hi.

The comment doesn't match the function name.

Art Haas

===== Makefile 1.550 vs edited =====
--- 1.550/Makefile 2004-12-03 14:56:59 -06:00
+++ edited/Makefile 2004-12-24 11:24:28 -06:00
# See documentation in Documentation/kbuild/makefiles.txt

 # cc-option
-# Usage: cflags-y += $(call gcc-option, -march=winchip-c6, -march=i586)
+# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)
 cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
              > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
@@ -291,7 +291,7 @@
             $(call cc-option, $(1),$(2))
 # cc-option-yn
-# Usage: flag := $(call gcc-option-yn, -march=winchip-c6)
+# Usage: flag := $(call cc-option-yn, -march=winchip-c6)
 cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
                 > /dev/null 2>&1; then echo "y"; else echo "n"; fi;)
Signature · 4 lines
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822