Do you mind share with me your build machines and workflow? I am trying to do some FreeBSD kernel hacking and doing some "POC" on various vm platforms. The most annoying thing is long compilation/linking time.building one module should be fast by default
when i hacked arm kernels i never used any of those and was building on a slow box
linking the kernel was the longest part
#!/bin/sh
COPTS=-g DEBUG=1 DEBUG_FLAGS=-g make KERN_OPTS="BWN_GPL_PHY BWN_DEBUG" && \
make install && \
cp /boot/modules/if_bwn.ko /boot/kernel/ && \
cp if_bwn.ko.debug /usr/lib/debug//boot/kernel/if_bwn.ko.debug