Recently I start to develop the linux device driver,
I face a problem, when I want to debug with kernel code, and add some printk
debug message in the k
use ccache
; this speeds up subsequent builds significantly
boot over network; bootloader of embedded devices have usually some tftp download mechanism; for PC you can use PXE boot
place the modules on an NFS root filesystem which gets filled by make modules-install INSTALL_MOD_PATH=$nfs-root
when you work on a single driver only, you can build only this by make -C $kernelsources M=$driverpath