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