Date: Thu, 6 Jun 2019 03:07:10 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r348722 - head/stand/efi/boot1 Message-ID: <201906060307.x5637A9P058085@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Thu Jun 6 03:07:10 2019 New Revision: 348722 URL: https://svnweb.freebsd.org/changeset/base/348722 Log: Don't make the efifat thing if NOFAT is defined. Modified: head/stand/efi/boot1/Makefile Modified: head/stand/efi/boot1/Makefile ============================================================================== --- head/stand/efi/boot1/Makefile Thu Jun 6 03:04:33 2019 (r348721) +++ head/stand/efi/boot1/Makefile Thu Jun 6 03:07:10 2019 (r348722) @@ -56,8 +56,10 @@ CFLAGS+= -DEFI_DEBUG .PATH: ${EFISRC}/libefi CFLAGS+= -I${LDRSRC} +.ifndef(NOFAT) FILES= ${BOOT1}.efi ${BOOT1}.efifat FILESMODE_${BOOT1}.efi= ${BINMODE} +.endif LDSCRIPT= ${EFISRC}/loader/arch/${MACHINE}/ldscript.${MACHINE} LDFLAGS+= -Wl,-T${LDSCRIPT},-Bsymbolic,-znotext -shared @@ -93,6 +95,7 @@ ${BOOT1}.efi: ${PROG} -j .rela.dyn -j .reloc -j .eh_frame \ --output-target=${EFI_TARGET} ${.ALLSRC} ${.TARGET} +.ifndef(NOFAT) # The following inserts our objects into a template FAT file system # created by generate-fat.sh @@ -110,5 +113,6 @@ ${BOOT1}.efifat: ${BOOT1}.efi ${DD} if=${.ALLSRC} of=${.TARGET} seek=${BOOT1_OFFSET} conv=notrunc CLEANFILES+= ${BOOT1}.efi ${BOOT1}.efifat +.endif .include <bsd.prog.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906060307.x5637A9P058085>