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.
This commit is contained in:
Warner Losh 2019-06-06 22:56:55 +00:00
parent 5429f5f309
commit 55de7f3406

View File

@ -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}