Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Aug 2022 17:24:58 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: f863970a82f4 - main - stand: Reduce number of files that need -I${LDRSRC}
Message-ID:  <202208031724.273HOwbq085303@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208031724.273HOwbq085303>