Re: git: 8c0c5bdf9d5e - main - Introduce MODULES_EXCLUDE

From: Emmanuel Vadot <manu_at_bidouilliste.com>
Date: Thu, 13 Jan 2022 15:00:39 UTC
On Thu, 13 Jan 2022 14:45:22 +0000
Jessica Clarke <jrtc27@freebsd.org> wrote:

> On 13 Jan 2022, at 14:16, Emmanuel Vadot <manu@FreeBSD.org> wrote:
> > 
> > The branch main has been updated by manu:
> > 
> > URL: https://cgit.FreeBSD.org/src/commit/?id=8c0c5bdf9d5ebe08bb239633c16a567eb8a9f898
> > 
> > commit 8c0c5bdf9d5ebe08bb239633c16a567eb8a9f898
> > Author:     Emmanuel Vadot <manu@FreeBSD.org>
> > AuthorDate: 2021-11-06 09:11:58 +0000
> > Commit:     Emmanuel Vadot <manu@FreeBSD.org>
> > CommitDate: 2022-01-13 14:16:34 +0000
> > 
> >    Introduce MODULES_EXCLUDE
> > 
> >    It's sometimes easier to exclude some modules rather than listing all
> >    possibly needed ones with MODULES_OVERRIDE.
> >    So for this add MODULES_EXCLUDE which do exactly as one would guess, excludes
> >    some modules from the build/install.
> > 
> >    For example if one wants to exclude all modules which are only present in the
> >    GENERIC config on amd64 :
> >    export MODULES_EXCLUDE=$(grep -E '^device' sys/amd64/conf/GENERIC | awk '{print $2}' | tr '\n' ' ?)
> 
> Isn?t that what WITHOUT_MODULES is already for?
> 
> Jess
> 

 Damn yes, no idea how I missed that.
 Reverted.

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>