From: Adrian Bunk Date: Tue, 13 Dec 2005 23:26:07 +0000 (+0100) Subject: [PATCH] kbuild: remove the deprecated check_gcc X-Git-Tag: v2.6.16-rc1~474^2~22^2~4^2~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9;p=linux-2.6 [PATCH] kbuild: remove the deprecated check_gcc check_gcc has been deprecated for quite some time. Signed-off-by: Adrian Bunk Signed-off-by: Sam Ravnborg --- diff --git a/Makefile b/Makefile index c319144009..b7856d3b01 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 \