diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-12-13 18:26:07 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-12-16 15:48:02 -0500 |
commit | cb1a7b4df7e2ffc7c97891e8f350ce5db50df3b9 (patch) | |
tree | e2d5a0b1c59ff7294b04a33cb733df059caa2c78 | |
parent | 6f6046cff2e8f04d6b916b10ebaa7b40d7e7967a (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>
-rw-r--r-- | Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -286,10 +286,6 @@ export quiet Q KBUILD_VERBOSE | |||
286 | cc-option = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ | 286 | cc-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 | ||
290 | check_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) |
295 | cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ | 291 | cc-option-yn = $(shell if $(CC) $(CFLAGS) $(1) -S -o /dev/null -xc /dev/null \ |