2019-06-08 19:02:17 +00:00
|
|
|
# $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
|
2021-04-06 05:55:08 +00:00
|
|
|
MAN= gptboot.efi.8
|
2019-06-08 19:02:17 +00:00
|
|
|
.PATH: ${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa
|
|
|
|
CFLAGS+= -I${SRCTOP}/stand/efi/boot1
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
CFLAGS+= -DBOOTPROG=\"gptboot.efi\"
|
2020-03-19 21:05:11 +00:00
|
|
|
CFLAGS+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
|
2019-06-08 19:02:17 +00:00
|
|
|
SRCS+= gpt.c
|
|
|
|
CWARNFLAGS.gpt.c+= -Wno-sign-compare -Wno-cast-align
|
2020-09-11 13:28:37 +00:00
|
|
|
WARNS?=6
|
2019-06-08 19:02:17 +00:00
|
|
|
.include "${.CURDIR}/../boot1/Makefile"
|