Commit 8eb3afe0 authored by Sam Ravnborg's avatar Sam Ravnborg
Browse files

kbuild: always use $(CC) for $(call cc-version)

The possibility to specify an optional parameter did not work out as
expected and it was not used - so remove the possibility.
Signed-off-by: default avatarSam Ravnborg <>
parent 002d27b1
......@@ -77,8 +77,7 @@ cc-option-align = $(subst -functions=0,,\
# cc-version
# Usage gcc-ver := $(call cc-version, $(CC))
cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/ \
$(if $(1), $(1), $(CC)))
cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/ $(CC))
# cc-ifversion
# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment