aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-12-13 18:26:07 -0500
committerSam Ravnborg <sam@mars.ravnborg.org>2005-12-16 15:48:02 -0500
commitcb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 (patch)
treee2d5a0b1c59ff7294b04a33cb733df059caa2c78 /Makefile
parent6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a (diff)
[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 c31914400953..b7856d3b0128 100644
--- a/Makefile
+++ b/Makefile
@@ -286,10 +286,6 @@ export quiet Q KBUILD_VERBOSE
286cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ 286cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \
287 > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;) 287 > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
288 288
289# For backward compatibility
290check_gcc = $(warning check_gcc is deprecated - use cc-option) \
291 $(call cc-option, $(1),$(2))
292
293# cc-option-yn 289# cc-option-yn
294# Usage: flag := $(call cc-option-yn, -march=winchip-c6) 290# Usage: flag := $(call cc-option-yn, -march=winchip-c6)
295cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ 291cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \