lib/geom: remove redundant libraries and objects

Do not link lib/geom/raid with libmd, it is not required for the module.
Do not include the sha256/sha512 code in lib/geom/eli, it is provided by
libmd.  Remove ${.CURDIR:H:H}/misc from .PATH for all modules.  This
path has stopped being valid when the GEOM modules were moved from
sbin/geom to lib/geom.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D47061
This commit is contained in:
Robert Clausecker
2024-10-11 16:48:02 +02:00
parent 501983e62e
commit 18b226ea08
16 changed files with 2 additions and 20 deletions
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= cache
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= concat
+1 -3
View File
@@ -1,13 +1,11 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc ${SRCTOP}/sys/geom/eli ${SRCTOP}/sys/crypto/sha2
.PATH: ${SRCTOP}/sys/geom/eli
GEOM_CLASS= eli
SRCS= g_eli_crypto.c
SRCS+= g_eli_hmac.c
SRCS+= g_eli_key.c
SRCS+= pkcs5v2.c
SRCS+= sha256c.c
SRCS+= sha512c.c
LIBADD= md crypto
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= journal
SRCS+= geom_journal_ufs.c
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= label
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= mirror
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= mountver
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= multipath
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= nop
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= part
-3
View File
@@ -1,8 +1,5 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= raid
LIBADD= md
.include <bsd.lib.mk>
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= raid3
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= shsec
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= stripe
-1
View File
@@ -1,5 +1,4 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= union
+1 -1
View File
@@ -1,5 +1,5 @@
PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc ${SRCTOP}/sys/geom/virstor
.PATH: ${SRCTOP}/sys/geom/virstor
GEOM_CLASS= virstor