]> git.proxmox.com Git - fwupd-efi.git/commitdiff
meson: abort if the host architecture isn't known
authorRoss Burton <ross.burton@arm.com>
Fri, 14 May 2021 13:07:36 +0000 (14:07 +0100)
committerRichard Hughes <richard@hughsie.com>
Mon, 17 May 2021 15:33:45 +0000 (16:33 +0100)
Instead of continuing and likely failing weirdly later, exit out early
if the host architecture isn't recognised.

meson.build

index 73f3121715dc0c9aaf24a7e5420ad2361a0f1c95..12857f1dec39215de8ad81eb03af61ca14abda80 100644 (file)
@@ -29,8 +29,7 @@ elif host_cpu == 'aarch64'
         EFI_MACHINE_TYPE_NAME = 'aa64'
         gnu_efi_arch = 'aarch64'
 else
-        EFI_MACHINE_TYPE_NAME = ''
-        gnu_efi_arch = ''
+        error('Unknown host_cpu ' + host_cpu)
 endif
 
 # sanity check the packager set this to *SOMETHING*