diff options
author | Matt Fleming <matt.fleming@intel.com> | 2013-12-11 09:01:56 +0000 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2013-12-11 09:17:27 +0000 |
commit | 278da3be43f13f9956267c2394fe9c0e158fe6cd (patch) | |
tree | e0ab5c093efc499be4d1c01cdb925861e8d25cc3 | |
parent | 31e11d3211ace5ea503d6c9c7a7350b382f41b66 (diff) | |
download | syslinux-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>
-rw-r--r-- | mk/efi.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |