summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-10-16 13:50:02 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2019-10-18 12:52:39 +0200
commit6823b290f3a598b235b4bfcfb639399daf03055b (patch)
treeb00696fa026d1996e203e8f70d3b3ce9146d0a03
parentbc425759d03189b21011ebb31f3820cb0532cd7d (diff)
downloadbarebox-6823b290f3a598b235b4bfcfb639399daf03055b.tar.gz
kbuild: remove ar-option
Linux commit 13dc8c029cab ("kbuild: remove ar-option and KBUILD_ARFLAGS") removed this already. Barebox has never used this macro. 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 fe0de87..919f286 100644
--- a/scripts/Kbuild.include
+++ b/scripts/Kbuild.include
@@ -134,11 +134,6 @@ cc-ifversion = $(shell [ $(call cc-version, $(CC)) $(1) $(2) ] && echo $(3))
ld-option = $(call try-run,\
$(CC) -x c /dev/null -c -o "$$TMPO" ; $(LD) $(1) "$$TMPO" -o "$$TMP",$(1),$(2))
-# ar-option
-# Usage: KBUILD_ARFLAGS := $(call ar-option,D)
-# Important: no spaces around options
-ar-option = $(call try-run, $(AR) rc$(1) "$$TMP",$(1),$(2))
-
######
###