Linux: modpost does not build anything

前端 未结 12 1129
-上瘾入骨i
-上瘾入骨i 2020-12-20 14:58

I am having problems getting any kernel modules to build on my machine. Whenever I build a module, modpost always says there are zero modules:

MODPOST 0 modu         


        
12条回答
  •  无人及你
    2020-12-20 15:22

    I had the same problem. Finally, I rebuilt the kernel, rewrote the makefile. It worked finally.

    I guess the main reason is because I had M=$(PWD) modules in the following line right after make ARCH=arm...

提交回复
热议问题