configure: build on arm
arm has a variety of uname -m forms, all beginning with arm, so use this to determine the EFI architecture Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
f37c1858fc
commit
3b4e9bb901
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ PKG_CHECK_MODULES(uuid, uuid,
|
|||
AC_MSG_ERROR([libuuid (from the uuid package) is required]))
|
||||
|
||||
dnl gnu-efi headers require extra include dirs
|
||||
EFI_ARCH=$(uname -m | sed s/i.86/ia32/)
|
||||
EFI_ARCH=$(uname -m | sed 's/i.86/ia32/;s/arm.*/arm/')
|
||||
EFI_CPPFLAGS="-I/usr/include/efi -I/usr/include/efi/$EFI_ARCH \
|
||||
-DEFI_FUNCTION_WRAPPER"
|
||||
CPPFLAGS_save="$CPPFLAGS"
|
||||
|
|
Loading…
Reference in a new issue