compile sr/sd into the kernel