stand geli: Restore include path to LDRSRC.

Various GELI sources need bootstrap.h and disk.h. In theory they
shouldn't need anything outside of libsa, but disk.h and bootstrap.h are
currently required.

This fixes the build with MK_LOADER_ZFS=no.

Obtained from: CheriBSD
Fixes: eaf7aabddc stand: geli CFLAGS tightening
Sponsored by: DARPA
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D35861
This commit is contained in:
John Baldwin 2022-07-22 09:56:18 -06:00 committed by Warner Losh
parent d1fb0e1dc8
commit bb7ddd077c

View File

@ -26,11 +26,11 @@ SRCS+= ${i}
# local GELI Implementation
.PATH: ${SYSDIR}/geom/eli
.for i in geliboot.c geliboot_crypto.c gelidev.c geli_metadata.c
CFLAGS.${i}+= -I${LDRSRC}
SRCS+= ${i}
.endfor
SRCS+= \
geliboot.c \
geliboot_crypto.c \
gelidev.c \
geli_metadata.c \
g_eli_hmac.c \
g_eli_key.c \
g_eli_key_cache.c \