Makefile: No such file or directory & No rule to make target, while compiling Linux kernel

Viewed 22

I just download a linux kernel, add some systemcalls and then try to compile it. While I use "make mrproper" and "menuconfig" it happened:

root@krasus-virtual-machine:/home/krasus/lib1/linux-5.19.10# make mrproper
Makefile:1022: scripts/Makefile.extrawarn: No such file or directory
make: *** No rule to make target "scripts/Makefile.extrawarn". Stop.
root@krasus-virtual-machine:/home/krasus/lib1/linux-5.19.10# make menuconfig
Makefile:611: scripts/Makefile.compiler: No such file or directory
make: *** No rule to make target "scripts/Makefile.compiler". Stop.

My vmware version is ubuntu 20.04.5 LTS with kernel 5.15.0-48, The version of the kernel I'm compiling is linux-5.19.10. I would really appreciate if you can give me some help, I've tried a lot but nothing worked, and now I'm crazzy about it. Please forgive my poor English.

0 Answers
Related