build-sys: add missing HAVE_GNUEFI condition
authorKay Sievers <kay@vrfy.org>
Tue, 17 Feb 2015 17:01:10 +0000 (18:01 +0100)
committerKay Sievers <kay@vrfy.org>
Tue, 17 Feb 2015 17:01:33 +0000 (18:01 +0100)
Makefile.am

index 5a17642..51c6d33 100644 (file)
@@ -2505,6 +2505,7 @@ dist_zshcompletion_DATA += \
        shell-completion/zsh/_bootctl
 
 # ------------------------------------------------------------------------------
+if HAVE_GNUEFI
 efi_cppflags = \
        $(EFI_CPPFLAGS) \
        -I$(top_builddir) -include config.h \
@@ -2625,6 +2626,7 @@ test-efi-disk.img: $(sd_boot) $(stub) test/test-efi-create-disk.sh
 test-efi: test-efi-disk.img
        $(QEMU) -machine accel=kvm -m 1024 -bios $(QEMU_BIOS) -snapshot test-efi-disk.img
 endif
+endif
 
 # ------------------------------------------------------------------------------
 if HAVE_BLKID