Hello,
I try to install this module https://github.com/lucidm/lcdi2c for Linux orangepipc 4.13.9-sunxi #1 SMP Tue Oct 24 10:21:11 MSK 2017 armv7l GNU/Linux on Orange Pi PC.
Module was successfully compiled but after performing the command:
make -C /lib/modules/$(uname -r)/build M=$PWD modules_install
module is installed in folder:
/lib/modules/4.13.9/extra
instead of:
/lib/modules/4.13.9-sunxi/extra
additional screenshot: SCREEN.PNG
According to this doc www.kernel.org/doc/Documentation/kbuild/modules.txt the modules_install command use $(KERNELRELEASE) as a path folder. (i.e. -r, --kernel-release = 4.13.9-sunxi). All looks ok, but in my case the folder name is 4.13.9.
How to resolve this?
Thx.