aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2009-09-19 04:14:33 -0400
committerSam Ravnborg <sam@ravnborg.org>2009-09-20 06:27:42 -0400
commitf86fd306605287d7c7f4f0f8e8e2a9d49d28b396 (patch)
tree8d6115f90c496ab3fc37de2b513e1857216cd92c /scripts
parent4779105e03cdb6639706991081839451d709230b (diff)
kbuild: rename ld-option to cc-ldoption
ld-option is misnamed as it test options to gcc, not to ld. Renamed it to reflect this. Cc: Andi Kleen <andi@firstfloor.org> Cc: Roland McGrath <roland@redhat.com> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Kbuild.include6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index c29be8f90248..94a4f682f385 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -130,9 +130,9 @@ cc-fullversion = $(shell $(CONFIG_SHELL) \
130# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1) 130# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
131cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3)) 131cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
132 132
133# ld-option 133# cc-ldoption
134# Usage: ldflags += $(call ld-option, -Wl$(comma)--hash-style=both) 134# Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
135ld-option = $(call try-run,\ 135cc-ldoption = $(call try-run,\
136 $(CC) $(1) -nostdlib -xc /dev/null -o "$$TMP",$(1),$(2)) 136 $(CC) $(1) -nostdlib -xc /dev/null -o "$$TMP",$(1),$(2))
137 137
138###### 138######