Re: git: 0e4167514fe3 - main - development.7: Add example for just kernel modules

From: Alexander Ziaee <ziaee_at_FreeBSD.org>
Date: Thu, 23 Jan 2025 18:45:27 UTC
On 2025-01-23 12:38 -05:00 EST, "Ed Maste" <emaste@freebsd.org> wrote:
> On Thu, 23 Jan 2025 at 11:32, Alexander Ziaee <ziaee@freebsd.org> wrote:
>>
>> The branch main has been updated by ziaee:
>>
>> URL: https://cgit.FreeBSD.org/src/commit/?id=0e4167514fe3894b288457f9c1edd8fb3237dfb8
>>
>> commit 0e4167514fe3894b288457f9c1edd8fb3237dfb8
>> Author:     Alexander Ziaee <ziaee@FreeBSD.org>
>> AuthorDate: 2025-01-17 22:56:59 +0000
>> Commit:     Alexander Ziaee <ziaee@FreeBSD.org>
>> CommitDate: 2025-01-23 16:32:03 +0000
>>
>>     development.7: Add example for just kernel modules
>>
> ...
>> +Rebuild and reinstall a single loadable kernel module, in this case
>> +.Xr sound 4 :
>> +.Bd -literal -offset indent
>> +cd src/sys/modules/sound
>> +make all install clean cleandepend KMODDIR=/boot/kernel
> 
> It's great to have an example like this on this page, thank you.
> There's one issue with sound(4) as the example though, in that sound
> is included in the kernel already; in the context of a standard kernel
> configuration the sound module serves no purpose. Perhaps we should
> have example of configuring a custom kernel (which can be without
> sound support) as well?

That would be wonderful! I'll draw that up and tag you for review.
I wonder if that's why the patches I was testing didn't change anything?
May I forward this to christos?

Thanks,
Alex