Skip to content
Snippets Groups Projects
Commit cb1a7b4d authored by Adrian Bunk's avatar Adrian Bunk Committed by Sam Ravnborg
Browse files

[PATCH] kbuild: remove the deprecated check_gcc


check_gcc has been deprecated for quite some time.

Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 6f6046cf
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment