mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 09:10:28 +00:00
![Eric van Gyzen](/assets/img/avatar_default.png)
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
10 lines
276 B
Makefile
10 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
|