From f863970a82f430a2b10b9799585008fe89eab00a Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Wed, 3 Aug 2022 11:16:17 -0600 Subject: [PATCH] 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 88a3bad82a0..c60cb37c59d 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 \