aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/gptboot/Makefile
blob: 82d4b3b8c4641b53b7e44059401042ee07552f19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

# ZFS is not supported, we want debugging until this is vetted and
# we don't want the gptboot.efifat thing created.
MK_LOADER_ZFS=no
EFI_DEBUG=yes

BOOT1?=		gptboot
MAN=		gptboot.efi.8
.PATH:		${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa
CFLAGS+=	-I${SRCTOP}/stand/efi/boot1
CFLAGS+=	-I${.CURDIR}
CFLAGS+=	-DBOOTPROG=\"gptboot.efi\"
CFLAGS+=	-DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
SRCS+=		gpt.c
CWARNFLAGS.gpt.c+=	-Wno-sign-compare -Wno-cast-align
WARNS?=6
.include "${.CURDIR}/../boot1/Makefile"