From 278da3be43f13f9956267c2394fe9c0e158fe6cd Mon Sep 17 00:00:00 2001 From: Matt Fleming Date: Wed, 11 Dec 2013 09:01:56 +0000 Subject: 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 --- mk/efi.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mk') 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) -- cgit v1.2.3