Re: different ways of building kernel
Warner Losh <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.hackers |
|---|---|
| Message-ID | <CANCZdfqZuya4pMbi3L83XkfhaesEUR4m5a2EVjzcA5nWajEpVA@mail.gmail.com> |
On Sun, Apr 19, 2026 at 3:54 PM void <[email protected]> wrote: > This pertains to -current. > > Apart from the usual way (make buildkernel) there is also the other, > older way: > > cd /usr/src/sys/$arch/conf > config KERNELNAME > cd ../../KERNELNAME && make cleandepend && make depend > > If make depend is run in this way and *then* > cd /usr/src && make buildkernel > > 1. are the contents of ../../KERNELNAME used in the buildkernel step > No. the paths are different for buildkernel. > 2. if filemon & meta mode is enabled and loaded, are they used in the > 'make depend' > step above? > I believe so, but I've not built the kernel the old way with metamode enough to remember what happens. Warner