build-sys: correct ARM32 GNU EFI boot binary build
authorMatt Clarkson <mattyclarkson@gmail.com>
Thu, 6 Apr 2017 13:12:15 +0000 (14:12 +0100)
committerMatt Clarkson <mattyclarkson@gmail.com>
Thu, 6 Apr 2017 13:33:02 +0000 (14:33 +0100)
commitcf8e2953b56281e7008a8757340801d427c994e9
tree9087fd44a7a4c39aaa539e423c34e0fdcd4762fe
parentcba49f2deab481045408d5452ac8c84fc03bccd5
build-sys: correct ARM32 GNU EFI boot binary build

Due to ARM not having an EFI capable objcopy we need to use the binary
output argument. This is correctly set up for AArch64 but is missed
when building for ARM32. This patch adds the ARCH_ARM automake define
which can then be used in the makefile to determine if to use the
correct linker flags.

The addition of the ARM32 flags is a copy and paste from the AArch64 to
create a logical OR for the ARCH_AARCH64 and ARCH_ARM variables. I
couldn't figure out a better way to create the conditional with basic
Make language constructs.
Makefile.am
configure.ac