summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-12-25 06:31:23 +0100
committerMichal Marek <mmarek@suse.cz>2015-01-09 17:11:43 +0100
commitdd33c03b18b3f2db791eb6a17c37d2de66e4de18 (patch)
treedc3dd52f010fc5e91ebf3616a0e4ca80e91ea891 /scripts
parentkbuild: drop $(version_h) from MRPROPER_FILES (diff)
downloadlinux-dd33c03b18b3f2db791eb6a17c37d2de66e4de18.tar.xz
linux-dd33c03b18b3f2db791eb6a17c37d2de66e4de18.zip
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')
-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)