diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-07-23 13:49:45 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2006-08-01 05:32:47 -0400 |
commit | 8eb3afe0e95e5d45efbe58996fe90982c740565d (patch) | |
tree | eaed838ecb0551802b260e127e94fe87af9318a9 /scripts | |
parent | 002d27b1b70f6d574c816ef265147704c4e951f1 (diff) |
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: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Kbuild.include | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index f01132263535..bb19c1561f1e 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -77,8 +77,7 @@ cc-option-align = $(subst -functions=0,,\ | |||
77 | 77 | ||
78 | # cc-version | 78 | # cc-version |
79 | # Usage gcc-ver := $(call cc-version, $(CC)) | 79 | # Usage gcc-ver := $(call cc-version, $(CC)) |
80 | cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh \ | 80 | cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC)) |
81 | $(if $(1), $(1), $(CC))) | ||
82 | 81 | ||
83 | # cc-ifversion | 82 | # cc-ifversion |
84 | # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) | 83 | # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) |