xref: /freebsd/stand/efi/gptboot/Makefile (revision c6e475ff5ab177d1bfa2fe8eaf9678fd165649fa)
1# $FreeBSD$
2
3# ZFS is not supported, we want debugging until this is vetted and
4# we don't want the gptboot.efifat thing created.
5MK_LOADER_ZFS=no
6EFI_DEBUG=yes
7NOFAT=yes
8
9BOOT1?=		gptboot
10.PATH:		${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa
11CFLAGS+=	-I${SRCTOP}/stand/efi/boot1
12CFLAGS+=	-I${.CURDIR}
13CFLAGS+=	-DBOOTPROG=\"gptboot.efi\"
14SRCS+=		gpt.c
15CWARNFLAGS.gpt.c+=	-Wno-sign-compare -Wno-cast-align
16WARNS=6
17.include "${.CURDIR}/../boot1/Makefile"
18