I want to create not big i2c-device module for training. But when I create new module file, I can't run Makefile, because ARMBIAN /lib/modules/(uname -r) doesn't have "build" file. My board is Orange Pi Zero H2+. ARMBIAN OS run on the board succesfully. Some detection of the i2c-device is succefully. How to create makefile that compile module file?
Try creating own module on Orange Pi Zero board
in Beginners
Posted · Edited by Yaroslav
I want to create not big i2c-device module for training. But when I create new module file, I can't run Makefile, because ARMBIAN /lib/modules/(uname -r) doesn't have "build" file. My board is Orange Pi Zero H2+. ARMBIAN OS run on the board succesfully. Some detection of the i2c-device is succefully. How to create makefile that compile module file?
Thanks