Date: Wed, 28 Jun 2000 10:32:49 -0600 From: Warner Losh <imp@village.org> To: Kris Kennaway <kris@FreeBSD.org> Cc: Assar Westerlund <assar@sics.se>, current@FreeBSD.org Subject: Re: vnode_if.h: how should it be done ? Message-ID: <200006281632.KAA56195@harmony.village.org> In-Reply-To: Your message of "Wed, 28 Jun 2000 01:48:22 PDT." <Pine.BSF.4.21.0006280144370.58233-100000@freefall.freebsd.org> References: <Pine.BSF.4.21.0006280144370.58233-100000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0006280144370.58233-100000@freefall.freebsd.org> Kris Kennaway writes: : On Sun, 25 Jun 2000, Warner Losh wrote: : : > They aren't installed. You must have a kernel tree to build the kld. : > Just add vnode_if.h to your SRCS and the rest happens automatically : > via bsd.kmod.mk. It works great. I do it all the time. In fact, I : > added SYSDIR support to bsd.kmod.mk at Timing Solutions so that we : > could compile our drivers outside of the tree. : : As I understand it, this is the only file which is required from the : kernel sources in order to build the arla port. ISTR FiST also needs it to : be present, and I also think I once came across another port that needed : it too. Is it really so wrong to make the lives of these third-party FS : tools harder by requiring full kernel sources to be present? Yes. They must be present. That's the API we have, for good or for ill. In order to get the right interfaces and the right generated files, they have to use the right proceedures. If you have stale or incorrect files, the ports will mysteriously not work. I'll take a look at the ports in question. Likely they are buggy by not using bsd.kmod.mk. Using bsd.kmod.mk is mandatory for kernel modules. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006281632.KAA56195>