Changeset View
Changeset View
Standalone View
Standalone View
stand/efi/gptboot/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
# ZFS is not supported, we want debugging until this is vetted and | # ZFS is not supported, we want debugging until this is vetted and | ||||
# we don't want the gptboot.efifat thing created. | # we don't want the gptboot.efifat thing created. | ||||
MK_LOADER_ZFS=no | MK_LOADER_ZFS=no | ||||
EFI_DEBUG=yes | EFI_DEBUG=yes | ||||
BOOT1?= gptboot | BOOT1?= gptboot | ||||
MAN= gptboot.efi.8 | |||||
.PATH: ${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa | .PATH: ${SRCTOP}/stand/efi/boot1 ${SRCTOP}/stand/libsa | ||||
CFLAGS+= -I${SRCTOP}/stand/efi/boot1 | CFLAGS+= -I${SRCTOP}/stand/efi/boot1 | ||||
CFLAGS+= -I${.CURDIR} | CFLAGS+= -I${.CURDIR} | ||||
CFLAGS+= -DBOOTPROG=\"gptboot.efi\" | CFLAGS+= -DBOOTPROG=\"gptboot.efi\" | ||||
CFLAGS+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib | CFLAGS+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib | ||||
SRCS+= gpt.c | SRCS+= gpt.c | ||||
CWARNFLAGS.gpt.c+= -Wno-sign-compare -Wno-cast-align | CWARNFLAGS.gpt.c+= -Wno-sign-compare -Wno-cast-align | ||||
WARNS?=6 | WARNS?=6 | ||||
.include "${.CURDIR}/../boot1/Makefile" | .include "${.CURDIR}/../boot1/Makefile" |