关于 XMake 编译内核模块的一些疑问 #6216
Unanswered
DavidingPlus
asked this question in
Q&A
Replies: 1 comment
-
走 kbuild ,那也就没必要用 xmake 了,你直接 kbuild+makefile 不就完事了么。
会自动从 makefile 中提取 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
XMake 在编译内核模块的时候,通过
xmake -v
观察详细的 log 后发现,XMake 体系下的内核模块编译似乎并没有走传统的内核 KBuild 体系,而是走的裸 gcc 这一套。这二者有什么区别呢?再者不使用内核的 KBuild 这一套会不会在编译的时候埋下一些隐患,比如缺少某些依赖、宏、符号之类的。可能在 debug 的时候遇到不小的问题。
并不是说不好用,而是想到了这些问题,故想请各位大佬一起探讨下。
Respect!!!
Beta Was this translation helpful? Give feedback.
All reactions