I am trying to follow this ArchWiki article to compile the newly released linux 6.0 kernel.
However I get stuck when checking if the kernel tree is clean following the instructions:
To finalise the preparation, ensure that the kernel tree is absolutely clean; do not rely on the source tree being clean after unpacking. To do so, first change into the new kernel source directory created, and then run the make mrproper command:
$ cd linux-A.B.C
$ make mrproper
Note: The mrproper Make target depends on the clean target, and thus, it is not necessary to execute both. See [1] for reference.
Running the make mrproper command, I get the following:
Makefile:191: *** source directory cannot contain spaces or colons. Stop.
Well, I have sort of succeeded in building the kernel and boot into it.
Everything seems to be working but the WiFi.
I did get a lot of “questions” when running the make command at the last step to which I had no clue what to answer. The default seemed to be N and that is what I chose.
I’ll appreciate any help, comments, suggestions etc to learn a bit more about this process.
Might be.
I couldn’t see anything that had a colon or a space in it.
Just moving the source directory and having it immediately under home seemed to resolve it.
I used the .config file from a running linux-zen kernel when compiling the first time.
The second time I used the default configuration from the official Arch Linux kernel package.
Then I used make olddefconfig to accept all the defaults.
Not sure if this explain the successful build but the kernel is bootable and so far everything seems to be working as expected.
As this is a learning experience for me, I’ll appreciate any and all comments, suggestions and feedback on what I have posted above. Please feel free to point out if I have done it the wrong way or if it could be done in a better way. Also I would appreciate if you could share resources you know of so that I could read up on the subject of kernel configuration, patching, removal of unneeded modules and so on and so forth.