xref: /freebsd/stand/efi/gptboot/Makefile (revision 42cd37dfbd1b2feff8f7aba32d2577e08b058231)
1f61f5a0bSWarner Losh# $FreeBSD$
2f61f5a0bSWarner Losh
3f61f5a0bSWarner Losh# ZFS is not supported, we want debugging until this is vetted and
4f61f5a0bSWarner Losh# we don't want the gptboot.efifat thing created.
5f61f5a0bSWarner LoshMK_LOADER_ZFS=no
6f61f5a0bSWarner LoshEFI_DEBUG=yes
7f61f5a0bSWarner Losh
8f61f5a0bSWarner LoshBOOT1?=		gptboot
9*42cd37dfSWarner LoshMAN=		gptboot.efi.8
10f61f5a0bSWarner Losh.PATH:		${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa
11f61f5a0bSWarner LoshCFLAGS+=	-I${SRCTOP}/stand/efi/boot1
12f61f5a0bSWarner LoshCFLAGS+=	-I${.CURDIR}
13f61f5a0bSWarner LoshCFLAGS+=	-DBOOTPROG=\"gptboot.efi\"
1427bae615SToomas SoomeCFLAGS+=	-DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
15f61f5a0bSWarner LoshSRCS+=		gpt.c
16f61f5a0bSWarner LoshCWARNFLAGS.gpt.c+=	-Wno-sign-compare -Wno-cast-align
17ecebb3ccSKyle EvansWARNS?=6
18f61f5a0bSWarner Losh.include "${.CURDIR}/../boot1/Makefile"
19