aboutsummaryrefslogtreecommitdiff
path: root/stand/efi/gptboot/Makefile
blob: e4af52b31204f2aab35a0026b7767bc151012e2a (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
NOFAT=yes

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