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