This is a simple module with a interface printtty
to print to current TTY, which makes the kernel debugging more convenient!~
Use this module as an external one
-
add
KBUILD_EXTRA_SYMBOLS := <path-to-printtty>/Module.symvers
at the very top of your Makefile, divided paths by space -
make
P.S. Don't use obsolete Module.symvers