summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-05-24 16:24:48 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2019-05-28 10:11:58 +0200
commit0ac711f382b5695846b76880b9d7bcf43f93faa1 (patch)
tree40febd1f9e54b8a2bc9733fe46ab9cdeac23e4d7
parent4469658fb1219aa30afb760c50d4b9b48da30b88 (diff)
downloadbarebox-0ac711f382b5695846b76880b9d7bcf43f93faa1.tar.gz
kbuild: drop support for cc-ldoption
Barebox is not using this macro. Linux commit 055efab3120bae7ab1ed841317774f3c953f6e1b killed this macro, so let's remove it from barebox too. I see another cc-ldoption in dts/scripts/Kbuild.include, but did not touch it. In my understanding, the dts/ directory is synced with the upstream devicetree-rebasing project [1]. [1] git://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--scripts/Kbuild.include5
1 files changed, 0 insertions, 5 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include
index 5fa7f16..5e7255d 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -129,11 +129,6 @@ cc-version = $(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-version.sh $(CC))
# Usage: EXTRA_CFLAGS += $(call cc-ifversion, -lt, 0402, -O1)
cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
-# cc-ldoption
-# Usage: ldflags += $(call cc-ldoption, -Wl$(comma)--hash-style=both)
-cc-ldoption = $(call try-run,\
- $(CC) $(1) -nostdlib -xc /dev/null -o "$$TMP",$(1),$(2))
-
# ld-option
# Usage: LDFLAGS += $(call ld-option, -X)
ld-option = $(call try-run,\