diff options
Diffstat (limited to 'Makefile')
-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 \ |