• L
    Revert "arm64: Use aarch64elf and aarch64elfb emulation mode variants" · 96f95a17
    Laura Abbott 提交于
    This reverts commit 38fc4248.
    
    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: 38fc4248 ("arm64: Use aarch64elf and aarch64elfb emulation mode variants")
    Tested-by: NKevin Hilman <khilman@baylibre.com>
    Signed-off-by: NLaura Abbott <labbott@redhat.com>
    Signed-off-by: NWill Deacon <will.deacon@arm.com>
    96f95a17
Makefile 5.4 KB