git: 5a0e9f3a220a - stable/13 - stand: Reduce number of files that need -I${LDRSRC}
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 24 Jan 2023 22:11:47 UTC
The branch stable/13 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=5a0e9f3a220a65a1d600778811ffb991d497609e
commit 5a0e9f3a220a65a1d600778811ffb991d497609e
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-08-03 17:16:17 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-01-24 21:49:29 +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
(cherry picked from commit f863970a82f430a2b10b9799585008fe89eab00a)
---
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 \