In message: <200305281147.53271.doconnor_at_gsoft.com.au> "Daniel O'Connor" <doconnor_at_gsoft.com.au> 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 _at__at_ -41,6 +41,20 _at__at_ .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} .elseReceived on Tue May 27 2003 - 19:52:46 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC