aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/boot1/Makefile
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2019-06-06 22:56:55 +0000
committerWarner Losh <imp@FreeBSD.org>2019-06-06 22:56:55 +0000
commit55de7f3406b8c03c7fba304f9d53b0926ba7a213 (patch)
tree066a4dc1715442f78acfdaf90943f7dd728cb813 /stand/efi/boot1/Makefile
parent5429f5f30945fa2580862b1d14c56c3f76e7e1e0 (diff)
downloadsrc-55de7f3406b8c03c7fba304f9d53b0926ba7a213.tar.gz
src-55de7f3406b8c03c7fba304f9d53b0926ba7a213.zip
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.
Notes
Notes: svn path=/head/; revision=348763
Diffstat (limited to 'stand/efi/boot1/Makefile')
-rw-r--r--stand/efi/boot1/Makefile5
1 files changed, 3 insertions, 2 deletions
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}