From 55de7f3406b8c03c7fba304f9d53b0926ba7a213 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Thu, 6 Jun 2019 22:56:55 +0000 Subject: Fix when NOFAT is defined We need to add the *efi file to the list of things that get built, even if we're not creating the efifat stuff. --- stand/efi/boot1/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'stand/efi/boot1/Makefile') diff --git a/stand/efi/boot1/Makefile b/stand/efi/boot1/Makefile index 97594017f766..670cc89a13e4 100644 --- a/stand/efi/boot1/Makefile +++ b/stand/efi/boot1/Makefile @@ -56,9 +56,10 @@ CFLAGS+= -DEFI_DEBUG .PATH: ${EFISRC}/libefi CFLAGS+= -I${LDRSRC} -.ifndef(NOFAT) -FILES= ${BOOT1}.efi ${BOOT1}.efifat +FILES= ${BOOT1}.efi FILESMODE_${BOOT1}.efi= ${BINMODE} +.ifndef(NOFAT) +FILES+= ${BOOT1}.efifat .endif LDSCRIPT= ${EFISRC}/loader/arch/${MACHINE}/ldscript.${MACHINE} -- cgit v1.2.3