Netconsole package?

How can i compile the netconsole package for the turris omnia?

Cheers

Or at least safe dmesg output to a logfile?