kbuild: remove ar-option and KBUILD_ARFLAGS
Commit 40df759e ("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>
Showing
- Documentation/kbuild/makefiles.rst 0 additions, 5 deletionsDocumentation/kbuild/makefiles.rst
- Makefile 0 additions, 4 deletionsMakefile
- arch/powerpc/boot/Makefile 1 addition, 1 deletionarch/powerpc/boot/Makefile
- scripts/Kbuild.include 0 additions, 5 deletionsscripts/Kbuild.include
- scripts/Makefile.build 1 addition, 1 deletionscripts/Makefile.build
- scripts/Makefile.lib 1 addition, 1 deletionscripts/Makefile.lib
Please register or sign in to comment