summaryrefslogtreecommitdiff
path: root/scripts/Kbuild.include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-12-25 08:31:23 +0300
committerMichal Marek <mmarek@suse.cz>2015-01-09 19:11:43 +0300
commitdd33c03b18b3f2db791eb6a17c37d2de66e4de18 (patch)
treedc3dd52f010fc5e91ebf3616a0e4ca80e91ea891 /scripts/Kbuild.include
parentc22bd32c6663778841082a73ffc7a4cc183ddc8f (diff)
downloadlinux-dd33c03b18b3f2db791eb6a17c37d2de66e4de18.tar.xz
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.include2
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) \
# cc-ifversion
# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
-cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
+cc-ifversion = $(shell [ $(call cc-version) $(1) $(2) ] && echo $(3))
# cc-ldoption
# Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)