In message: <[EMAIL PROTECTED]> "Daniel O'Connor" <[EMAIL PROTECTED]> writes: : The only downside is that there are no hooks into the build process so you : have to be VERY careful when you update your kernel, or you get panics :(
This is true. I'd thought that MODULES_OVERRIDE would help, but ports builds and kernel builds are different enough to make this not easy to do. Wanna test a patch? Add a 'makeoptions PORTS_MODULES=comms/ltmdm' to your config file and apply the following patch. Lemme know how well (or poorly) it works. There's likely some hidden assumptions that make it appear to work for me. Warner --- sys/conf/kern.post.mk#10 Tue May 27 22:34:04 2003 +++ sys/conf/kern.post.mk Tue May 27 22:34:04 2003 @@ -41,6 +41,20 @@ .endif .endif +.if defined(PORTS_MODULES) +modules: ports-all +ports-all: +.for __i in ${PORTS_MODULES} + cd /usr/ports/${__i}; ${MAKE} all +.endfor + +modules-install: ports-install +ports-install: +.for __i in ${PORTS_MODULES} + cd /usr/ports/${__i}; ${MAKE} install +.endfor +.endif + .if !defined(DEBUG) FULLKERNEL= ${KERNEL_KO} .else _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "[EMAIL PROTECTED]"