How .ko file is built
问题 I am trying to port my own driver to a Beagle board xm arm-cortex-A8 . While porting I am trying to figuring out how the .ko file actually builds. In our Makefile we only have a command to build an .o file. How is a .ko file built? Using linux- 2.6.38.8 kernel and trying to configure my driver for my kernel. 回答1: The kernel kbuild module document has lots of information on how to build an external module. If you have Raspberian or some other embedded ARM Linux, you will need to get the source