]> 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)
commit6a1e6ea6986515b86f60293a1374aa5c8092ad99
treea2e08aca7ee597754f336306870463f886154e35
parentf5c4776cd5b591eea4e9be9f421e34f61b98ebb2
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