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

# 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
.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"