aboutsummaryrefslogtreecommitdiffstats
path: root/mk
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-12-11 09:01:56 +0000
committerMatt Fleming <matt.fleming@intel.com>2013-12-11 09:17:27 +0000
commit278da3be43f13f9956267c2394fe9c0e158fe6cd (patch)
treee0ab5c093efc499be4d1c01cdb925861e8d25cc3 /mk
parent31e11d3211ace5ea503d6c9c7a7350b382f41b66 (diff)
downloadsyslinux-278da3be43f13f9956267c2394fe9c0e158fe6cd.tar.gz
syslinux-278da3be43f13f9956267c2394fe9c0e158fe6cd.tar.xz
syslinux-278da3be43f13f9956267c2394fe9c0e158fe6cd.zip
efi: Check the gnu-efi build succeeded
Guard against future changes by requiring that the gnu-efi build scripts exit with success. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'mk')
-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)