Jump to content

ARMBIAN 5.34 jessie - incorrect path for modules_install command


Recommended Posts

Posted (edited)

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.

Edited by OvaleZ
text formatting
<
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines