diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-12-25 00:31:23 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2015-01-09 11:11:43 -0500 |
commit | dd33c03b18b3f2db791eb6a17c37d2de66e4de18 (patch) | |
tree | dc3dd52f010fc5e91ebf3616a0e4ca80e91ea891 /scripts/Kbuild.include | |
parent | c22bd32c6663778841082a73ffc7a4cc183ddc8f (diff) |
kbuild: fix cc-ifversion macro
The macro "cc-version" takes no argument. Drop $(CC) from the
"cc-ifversion" definition.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/Kbuild.include')
-rw-r--r-- | scripts/Kbuild.include | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index edd2794569db..34a87fc77f71 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
@@ -139,7 +139,7 @@ cc-fullversion = $(shell $(CONFIG_SHELL) \ | |||
139 | 139 | ||
140 | # cc-ifversion | 140 | # cc-ifversion |
141 | # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) | 141 | # Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) |
142 | cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3)) | 142 | cc-ifversion = $(shell [ $(call cc-version) $(1) $(2) ] && echo $(3)) |
143 | 143 | ||
144 | # cc-ldoption | 144 | # cc-ldoption |
145 | # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both) | 145 | # Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both) |