]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: remove ar-option and KBUILD_ARFLAGS
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 21 Sep 2019 06:49:54 +0000 (15:49 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 1 Oct 2019 00:20:33 +0000 (09:20 +0900)
commitafd825cde1af9b02e522ef169ad31519f3836375
treea2e08aca7ee597754f336306870463f886154e35
parent83b4b06b7408ce798a220098fbeac6cb0a1db352
kbuild: remove ar-option and KBUILD_ARFLAGS

Commit 021b27dc49c3 ("kbuild: Fix build with binutils <= 2.19")
introduced ar-option and KBUILD_ARFLAGS to deal with old binutils.

According to Documentation/process/changes.rst, the current minimal
supported version of binutils is 2.21 so you can assume the 'D' option
is always supported. Not only GNU ar but also llvm-ar supports it.

With the 'D' option hard-coded, there is no more user of ar-option
or KBUILD_ARFLAGS.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nick Desaulniers <ndesaulniers@google.com>
Documentation/kbuild/makefiles.rst
Makefile
arch/powerpc/boot/Makefile
scripts/Kbuild.include
scripts/Makefile.build
scripts/Makefile.lib