Date: Thu, 23 Jan 2025 18:45:27 +0000 (UTC) From: "Alexander Ziaee" <ziaee@FreeBSD.org> To: "Ed Maste" <emaste@freebsd.org> Cc: "src-committers" <src-committers@freebsd.org>, "dev-commits-src-all" <dev-commits-src-all@freebsd.org>, "dev-commits-src-main" <dev-commits-src-main@freebsd.org> Subject: Re: git: 0e4167514fe3 - main - development.7: Add example for just kernel modules Message-ID: <E1tb2Cl-0004B8-4R@rmmprod07.runbox> In-Reply-To: <CAPyFy2A_dRM0VMRDYy-h=b85Bx487n2YzB9buWvTXUk4MBza3w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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=3D0e4167514fe3894b288457f9c= 1edd8fb3237dfb8 >> >> 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=3D/boot/kernel >=20 > 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1tb2Cl-0004B8-4R>