diff options
author | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-02-12 15:46:44 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2016-02-12 15:46:44 -0800 |
commit | 3b4e9bb901e40ce5d737dfc5b44b4529421d8f8a (patch) | |
tree | 38575ff12a5676ce217df6816b7f03c6ecb21859 | |
parent | f37c1858fc83ce1f4cef28f47cd356226b93fa0f (diff) | |
download | sbsigntools-3b4e9bb901e40ce5d737dfc5b44b4529421d8f8a.tar.gz |
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>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 2e80e09..ee637df 100644 --- a/configure.ac +++ b/configure.ac @@ -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" |