xref: /freebsd/stand/efi/gptboot/Makefile (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
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