git: 9b6aa99e1f20 - main - Revert "Introduce MODULES_EXCLUDE"

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 13 Jan 2022 15:00:25 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=9b6aa99e1f20577c361cd57e427a5a95013dbac1

commit 9b6aa99e1f20577c361cd57e427a5a95013dbac1
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-01-13 14:59:42 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-01-13 14:59:47 +0000

    Revert "Introduce MODULES_EXCLUDE"
    
    This is already present as WITHOUT_MODULES
    
    This reverts commit 8c0c5bdf9d5ebe08bb239633c16a567eb8a9f898.
    
    Reported by:    jrtc27
---
 share/man/man5/make.conf.5 | 5 +----
 share/mk/bsd.kmod.mk       | 6 ------
 2 files changed, 1 insertion(+), 10 deletions(-)

diff --git a/share/man/man5/make.conf.5 b/share/man/man5/make.conf.5
index fd0837ecc121..b3623b29a950 100644
--- a/share/man/man5/make.conf.5
+++ b/share/man/man5/make.conf.5
@@ -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
diff --git a/share/mk/bsd.kmod.mk b/share/mk/bsd.kmod.mk
index 2287f447c704..683967749e75 100644
--- a/share/mk/bsd.kmod.mk
+++ b/share/mk/bsd.kmod.mk
@@ -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