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

From: Warner Losh <imp_at_FreeBSD.org>
Date: Wed, 03 Aug 2022 17:24:58 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=f863970a82f430a2b10b9799585008fe89eab00a

commit f863970a82f430a2b10b9799585008fe89eab00a
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-08-03 17:16:17 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-08-03 17:24:38 +0000

    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
---
 stand/libsa/geli/Makefile.inc | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/stand/libsa/geli/Makefile.inc b/stand/libsa/geli/Makefile.inc
index 88a3bad82a0e..c60cb37c59df 100644
--- a/stand/libsa/geli/Makefile.inc
+++ b/stand/libsa/geli/Makefile.inc
@@ -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 \