Linux驱动开发的资料

Linux驱动开发的资料

1.学习linux内核开发的官方文档(自己可以拿源码来生成帮助文档)
https://www.kernel.org/doc/html/latest/index.html

https://www.kernel.org/doc/

https://mirrors.edge.kernel.org/pub/

2.使用linux内核源码来生成API帮助文档
在linux内核源码目录下执行make help

Documentation targets:
 Linux kernel internal documentation in different formats:
  htmldocs        - HTML
  pdfdocs         - PDF
  psdocs          - Postscript
  xmldocs         - XML DocBook
  mandocs         - man pages
  installmandocs  - install man pages generated by mandocs
  cleandocs       - clean all generated DocBook files

以上是支持的文档格式
例如要生成pdf文档就执行:

/*安装生成工具:apt-get install docbook-utils*/
make pdfdocs

生成的文档在:源码根目录/Documentation/DocBook(linux4.16的生成在Document/output目录下)

猜你喜欢

转载自blog.csdn.net/wyy626562203/article/details/79787230
今日推荐