summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-12-14 00:26:07 +0100
committerSam Ravnborg <sam@mars.ravnborg.org>2005-12-16 21:48:02 +0100
commitcb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 (patch)
treee2d5a0b1c59ff7294b04a33cb733df059caa2c78 /Makefile
parent6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a (diff)
downloadlinux-3.10-cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9.tar.gz
linux-3.10-cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9.tar.bz2
linux-3.10-cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9.zip
[PATCH] kbuild: remove the deprecated check_gcc
check_gcc has been deprecated for quite some time. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index c3191440095..b7856d3b012 100644
--- a/Makefile
+++ b/Makefile
@@ -286,10 +286,6 @@ export quiet Q KBUILD_VERBOSE
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 \