mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
90c1ca326d
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
(cherry picked from commit eda28feb2e
)
9 lines
276 B
Makefile
9 lines
276 B
Makefile
.if ${MK_LOADER_VERIEXEC} != "no"
|
|
CFLAGS+= -DLOADER_VERIEXEC -I${SRCTOP}/lib/libsecureboot/h
|
|
.if ${MK_LOADER_VERIEXEC_VECTX} != "no"
|
|
CFLAGS+= -DLOADER_VERIEXEC_VECTX
|
|
.endif
|
|
.if ${MK_LOADER_VERIEXEC_PASS_MANIFEST} != "no"
|
|
CFLAGS+= -DLOADER_VERIEXEC_PASS_MANIFEST
|
|
.endif
|
|
.endif
|