开始实践内核模块及驱动。
正式的第一个程序hello.c遇到了如下问题:
1. makefile文件的命名方式是 Makefile, “M"必须是大写,否则会报如下错误:
scripts/Makefile.build:44: /home/fiking/code/test/Makefile: No such file or directory
make[2]: *** No rule to make target '/home/fiking/code/test/Makefile'. Stop.
参考:
https://www.jianshu.com/p/3aa1de768b63