aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mk/efi.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/efi.mk b/mk/efi.mk
index ca1dc75f..82bd51f0 100644
--- a/mk/efi.mk
+++ b/mk/efi.mk
@@ -21,7 +21,11 @@ ifeq ($(ARCH),x86_64)
EFI_SUBARCH = $(ARCH)
endif
-$(shell $(topdir)/efi/check-gnu-efi.sh $(EFI_SUBARCH) $(topdir) $(objdir))
+output = $(shell $(topdir)/efi/check-gnu-efi.sh $(EFI_SUBARCH) \
+ $(topdir) $(objdir))
+ifneq ($(output),)
+$(error Failed to build gnu-efi for $(EFI_SUBARCH))
+endif
#LIBDIR=/usr/lib
FORMAT=efi-app-$(EFI_SUBARCH)