Article 516KX make install_module install: No rule to make target

make install_module install: No rule to make target

by
NathGri
from LinuxQuestions.org on (#516KX)
Hi, I recently changed from Windows to Slackware because I wanted to make some contributions to the Linux Kernel. Anyway, I thought I should try to start by cloning the mainline repo. After cloning it and reading through the README files I compiled it and the modules into a separate directory with:

Code:make O=/home/nathanael/KernelBuild localmodconfig
make O=/home/nathanael/KernelBuildHowever, I couln't get it installed because when I ran make install I got this:
Code:bash-4.3$ sudo make O=/home/nathanael/KernelBuild/ install_module install
Password:
make[1]: Entering directory '/home/nathanael/KernelBuild'
make[1]: *** No rule to make target 'install_module'. Stop.
make[1]: Leaving directory '/home/nathanael/KernelBuild'
Makefile:180: recipe for target 'sub-make' failed
make: *** [sub-make] Error 2I tried looking around for a while but couldn't find anything good on my particular issue.

I think this might have something to do with the fact that I use ELILO instead of LILO but I'm not too sure? In case this is relevant, I am running Slackware 14.2 and the Kernel version is 5.6. I am also possibly thinking that I might have messed something up when I used slackpkg to upgrade my kernel and modules from 4.4.14 to 4.4.208. I had to fix some things manually because it also tried to use lilo to install the new kernel.

I don't have a very good handle on what is actually going on behind the scenes so if anyone does have a fix I would really appreciate it if you could explain to me why this is happening in the first place. I think that I could just boot with the new kernel image if I really need to but I have no idea what to do about the modules. Thanks!latest?d=yIl2AUoC8zA latest?i=BfPApQNQASE:pxv99KZtGxA:F7zBnMy latest?i=BfPApQNQASE:pxv99KZtGxA:V_sGLiP latest?d=qj6IDK7rITs latest?i=BfPApQNQASE:pxv99KZtGxA:gIN9vFwBfPApQNQASE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments