Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 May 2022 23:56:55 +0200
From:      "Julian H. Stacey" <jhs@berklix.com>
To:        lwhsu@FreeBSD.org
Cc:        Eugene Grosbein <eugen@grosbein.net>, freebsd-stable@FreeBSD.org, freebsd-current@FreeBSD.org, Ed Maste <emaste@FreeBSD.org>
Subject:   Re: breaking modules
Message-ID:  <202205032157.243Lut1R083899@fire.js.berklix.net>
In-Reply-To: Your message "Tue, 03 May 2022 20:05:41 %2B0200."

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205032157.243Lut1R083899>