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/KernelBuild
However, 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 2
I 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!