From: Adrian Bunk Date: Tue, 13 Dec 2005 23:26:07 +0000 (+0100) Subject: [PATCH] kbuild: remove the deprecated check_gcc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9;p=linux-beck.git [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 c31914400953..b7856d3b0128 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 \