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