]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc: remove meaningless KBUILD_ARFLAGS addition
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 13 Jul 2019 03:21:06 +0000 (12:21 +0900)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 22 Aug 2019 13:11:48 +0000 (23:11 +1000)
commit9ed6f0e9c9a8a9149ce3c023fde3b55db454de2e
tree0b3b3b10279a6f89ce7884b656a200e2a4798c80
parentf1f31327c5b939cbd056933e44d76371aa296d34
powerpc: remove meaningless KBUILD_ARFLAGS addition

The KBUILD_ARFLAGS addition in arch/powerpc/Makefile has never worked
in a useful way because it is always overridden by the following code
in the top Makefile:

  # use the deterministic mode of AR if available
  KBUILD_ARFLAGS := $(call ar-option,D)

The code in the top Makefile was added in 2011, by commit 021b27dc49c3
("kbuild: Fix build with binutils <= 2.19").

The KBUILD_ARFLAGS addition for ppc has always been dead code from the
beginning.

Nobody has reported a problem since 77161f518867 ("powerpc: Add option
to use thin archives"), so this code was unneeded.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20190713032106.8509-1-yamada.masahiro@socionext.com
arch/powerpc/Makefile