OSDN Git Service

arm64: build with baremetal linker target instead of Linux when available
authorOlof Johansson <olof@lixom.net>
Fri, 13 Jul 2018 15:30:33 +0000 (08:30 -0700)
committerWill Deacon <will.deacon@arm.com>
Mon, 23 Jul 2018 14:30:19 +0000 (15:30 +0100)
commitc931d34ea0853d41349e93f871bd3f17f1c03a6b
treea3a9b906f7663a5860d07c9fd9c720de01aa9b3a
parent14d6e289a89780377f8bb09de8926d3c62d763cd
arm64: build with baremetal linker target instead of Linux when available

Not all toolchains have the baremetal elf targets, RedHat/Fedora ones
in particular. So, probe for whether it's available and use the previous
(linux) targets if it isn't.

Reported-by: Laura Abbott <labbott@redhat.com>
Tested-by: Laura Abbott <labbott@redhat.com>
Acked-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Paul Kocialkowski <contact@paulk.fr>
Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Makefile
scripts/Kbuild.include