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)
commit13dc8c029cabf52ba95f60c56eb104d4d95d5889
treea2e08aca7ee597754f336306870463f886154e35
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c
kbuild: remove ar-option and KBUILD_ARFLAGS

Commit 40df759e2b9e ("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