]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - stand/efi/gptboot/Makefile
loader: remove libsa/crc32.c and use version from zlib
[FreeBSD/FreeBSD.git] / stand / efi / gptboot / Makefile
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.
5 MK_LOADER_ZFS=no
6 EFI_DEBUG=yes
7 NOFAT=yes
8
9 BOOT1?=         gptboot
10 .PATH:          ${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa
11 CFLAGS+=        -I${SRCTOP}/stand/efi/boot1
12 CFLAGS+=        -I${.CURDIR}
13 CFLAGS+=        -DBOOTPROG=\"gptboot.efi\"
14 CFLAGS+=        -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
15 SRCS+=          gpt.c
16 CWARNFLAGS.gpt.c+=      -Wno-sign-compare -Wno-cast-align
17 WARNS?=6
18 .include "${.CURDIR}/../boot1/Makefile"