1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +00:00

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

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= cache GEOM_CLASS= cache

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= concat GEOM_CLASS= concat

View File

@ -1,13 +1,11 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc ${SRCTOP}/sys/geom/eli ${SRCTOP}/sys/crypto/sha2 .PATH: ${SRCTOP}/sys/geom/eli
GEOM_CLASS= eli GEOM_CLASS= eli
SRCS= g_eli_crypto.c SRCS= g_eli_crypto.c
SRCS+= g_eli_hmac.c SRCS+= g_eli_hmac.c
SRCS+= g_eli_key.c SRCS+= g_eli_key.c
SRCS+= pkcs5v2.c SRCS+= pkcs5v2.c
SRCS+= sha256c.c
SRCS+= sha512c.c
LIBADD= md crypto LIBADD= md crypto

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= journal GEOM_CLASS= journal
SRCS+= geom_journal_ufs.c SRCS+= geom_journal_ufs.c

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= label GEOM_CLASS= label

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= mirror GEOM_CLASS= mirror

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= mountver GEOM_CLASS= mountver

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= multipath GEOM_CLASS= multipath

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= nop GEOM_CLASS= nop

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= part GEOM_CLASS= part

View File

@ -1,8 +1,5 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= raid GEOM_CLASS= raid
LIBADD= md
.include <bsd.lib.mk> .include <bsd.lib.mk>

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= raid3 GEOM_CLASS= raid3

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= shsec GEOM_CLASS= shsec

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= stripe GEOM_CLASS= stripe

View File

@ -1,5 +1,4 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc
GEOM_CLASS= union GEOM_CLASS= union

View File

@ -1,5 +1,5 @@
PACKAGE=geom PACKAGE=geom
.PATH: ${.CURDIR:H:H}/misc ${SRCTOP}/sys/geom/virstor .PATH: ${SRCTOP}/sys/geom/virstor
GEOM_CLASS= virstor GEOM_CLASS= virstor