stand: Reduce number of files that need -I${LDRSRC}

geliboot.c and geliboot_crypto.c don't need anything from stand/common,
so remove them from the list of things to add it.

Sponsored by:		Netflix
Differential Revision:	https://reviews.freebsd.org/D35921
This commit is contained in:
Warner Losh 2022-08-03 11:16:17 -06:00
parent 4333168b1d
commit f863970a82

View File

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