When VECTX is enabled as a kernel option and non-EFI loaders are built, many reads will fail due to the mis-match of whether LOADER_VERIEXEC_VECTX or not in readin.h. Source that includes bootstrap.h must ensure the kernel option agrees with the compile time CFLAGS in the various make related files. Submitted by: bret_ketchum@dell.com (original revision) Reviewed by: sjg, bdrewery, dab, bret_ketchum@dell.com MFC after: 1 week Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D29993
25 lines
365 B
Makefile
25 lines
365 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.init.mk>
|
|
|
|
.PATH: ${LDRSRC}
|
|
|
|
LIB= efi_fdt
|
|
WARNS?= 6
|
|
|
|
SRCS= efi_fdt.c
|
|
|
|
.include "${BOOTSRC}/veriexec.mk"
|
|
|
|
# EFI library headers
|
|
CFLAGS+= -I${EFISRC}/include
|
|
CFLAGS+= -I${EFISRC}/include/${MACHINE}
|
|
|
|
# libfdt headers
|
|
CFLAGS+= -I${FDTSRC}
|
|
|
|
# Pick up the bootstrap header for some interface items
|
|
CFLAGS+= -I${LDRSRC}
|
|
|
|
.include <bsd.lib.mk>
|