]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants"
authorLaura Abbott <labbott@redhat.com>
Mon, 9 Jul 2018 20:09:56 +0000 (13:09 -0700)
committerWill Deacon <will.deacon@arm.com>
Tue, 10 Jul 2018 09:16:54 +0000 (10:16 +0100)
commite95ef9440338456a37dc2d9c4a740049e347ea63
tree92f52ffdc8ab356129508496344c776d9742bfe8
parent8ec73892f2b2527af6aa4a6096dea47873879fbf
Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants"

This reverts commit d51fa8e65e1beec412a4e9f0812b8cfc61a8cd98.

Distributions such as Fedora and Debian do not package the ELF linker
scripts with their toolchains, resulting in kernel build failures such
as:

  |   CHK     include/generated/compile.h
  |   LD [M]  arch/arm64/crypto/sha512-ce.o
  | aarch64-linux-gnu-ld: cannot open linker script file ldscripts/aarch64elf.xr: No such file or directory
  | make[1]: *** [scripts/Makefile.build:530: arch/arm64/crypto/sha512-ce.o] Error 1
  | make: *** [Makefile:1029: arch/arm64/crypto] Error 2

Revert back to the linux targets for now, adding a comment to the Makefile
so we don't accidentally break this in the future.

Cc: Paul Kocialkowski <contact@paulk.fr>
Cc: <stable@vger.kernel.org>
Fixes: d51fa8e65e1b ("arm64: Use aarch64elf and aarch64elfb emulation mode variants")
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Makefile