Re: breaking modules
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 03 May 2022 21:56:55 UTC
I wrote:
>
> > From: bugzilla-noreply@freebsd.org
> > Date: Tue, 03 May 2022 17:20:14 +0000
> > To: jhs@berklix.com
> >
> > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263758
> >
> > Li-Wen Hsu <lwhsu@FreeBSD.org> changed:
> >
> > What |Removed |Added
> > ----------------------------------------------------------------------------
> > CC| |lwhsu@FreeBSD.org
> > Status|New |Open
> >
> > --- Comment #2 from Li-Wen Hsu <lwhsu@FreeBSD.org> ---
> > Does WITHOUT_MODULES in make.conf(5) work here?
>
> Ouch ! Thanks ! I didn't know that existed ! I may have wasted time
> re-inventing the wheel, I'll look more at both.
>
> PS Seems to me a whole slew of that man make.conf more properly now
> belongs in src.conf ?
Thanks to Li-Wen Hsu :-) I read & tested the section of /sys/modules/Makefile
.for reject in ${WITHOUT_MODULES}
SUBDIR:= ${SUBDIR:N${reject}}
.endfor
& that code works fine with both 1 & 2 modules listed.
The existing code is also lots smaller than my DUD_MODULES patch,
that does not use the sophistication modern bsd make ofers.
So I rejected my own patch, & closed
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263758
Cheers,
--
Julian Stacey http://berklix.com/jhs/ http://StolenVotes.UK
Kill / remove Putin: He kills innocents & causes global grain & fuel shortage.