[2.6 patch] remove the deprecated check_gcc
From: Adrian Bunk
Date: Tue Dec 13 2005 - 18:25:18 EST
check_gcc has been deprecated for quite some time.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
---
This patch was already sent on:
- 3 Dec 2005
--- linux-2.6.15-rc3-mm1/Makefile.old 2005-12-03 02:50:54.000000000 +0100
+++ linux-2.6.15-rc3-mm1/Makefile 2005-12-03 02:51:05.000000000 +0100
@@ -286,10 +286,6 @@
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 ;)
-# For backward compatibility
-check_gcc = $(warning check_gcc is deprecated - use cc-option) \
- $(call cc-option, $(1),$(2))
-
# cc-option-yn
# Usage: flag := $(call cc-option-yn, -march=winchip-c6)
cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/