xref: /freebsd/stand/efi/gptboot/Makefile (revision f6a3b357e9be4c6423c85eff9a847163a0d307c8)
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
7
8BOOT1?=		gptboot
9.PATH:		${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa
10CFLAGS+=	-I${SRCTOP}/stand/efi/boot1
11CFLAGS+=	-I${.CURDIR}
12CFLAGS+=	-DBOOTPROG=\"gptboot.efi\"
13SRCS+=		gpt.c
14CWARNFLAGS.gpt.c+=	-Wno-sign-compare -Wno-cast-align
15WARNS=6
16.include "${.CURDIR}/../boot1/Makefile"
17