Makefile:622: arch/Linux/Makefile: No such file or Directory

Viewed 25

I have to build a custom linux kernel on both windows and Unix machine.

I have downloaded the Linux source code of version 5.19.10 from kernel.org on my windows machine copy pasted that into my Unix server. I untarred the file using tar xvf ... in Windows Subsystem for Linux and also in the Unix shell. Everything is perfect till now.

Now, since I need to configure my kernel, I run make menuconfig command. It works perfectly fine in bash but in Unix, it shows arch/Linux/Makefile no such file in directory. But this error is not there in Windows machine. I also checked the arch directory but it doesnt have any Linux folder in the arch directory in both Windows and Linux machine.

How to solve this error in Unix and build my custom Linux kernel?

Thanks

0 Answers
Related