Revert "Introduce MODULES_EXCLUDE"

This is already present as WITHOUT_MODULES

This reverts commit 8c0c5bdf9d.

Reported by:	jrtc27
This commit is contained in:
Emmanuel Vadot 2022-01-13 15:59:42 +01:00
parent 8c0c5bdf9d
commit 9b6aa99e1f
2 changed files with 1 additions and 10 deletions

View File

@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
.Dd January 13, 2021
.Dd June 14, 2021
.Dt MAKE.CONF 5
.Os
.Sh NAME
@ -272,9 +272,6 @@ It defaults to
.It Va MODULES_OVERRIDE
.Pq Vt str
Set to a list of modules to build instead of all of them.
.It Va MODULES_EXCLUDE
.Pq Vt str
Set to a list of modules to exclude from the build.
.It Va NO_KERNELCLEAN
.Pq Vt bool
Set this to skip running

View File

@ -1,10 +1,4 @@
# $FreeBSD$
.if defined(MODULES_EXCLUDE) && defined(KMOD) && ${MODULES_EXCLUDE:M${KMOD}}
all:
install:
cleandir:
.else
.include <bsd.sysdir.mk>
.include "${SYSDIR}/conf/kmod.mk"
.endif