I am using Ubuntu 20.04LTS on a Desktop to build the Khadas Linux image. I can configure and run make and it generates a complete image based on ./fenix/build/linux_mainline-5.12.
If I run make help from the ./ folder, I get the help indicating I can build the kernel separately. I can run make kernel and it makes the default kernel.
Now I want to make changes to the default kernel and so I run make kernel-config. It returns cp: cannot create regular file ‘/home/ubuntu/fenix/build/linux-mainline-*/.config’: No such file or directory.
One of the scripts seems to be wanting to copy a single file into a wildcard or there is an environmental variable not set. I have searched through files, but the khadas build is so extrapolated that I cannot find the location.
I want to set custom options which I can set inder ./fenix/build/linux-mainline-5.12/make menuconfig
Once finished it writes it to ./fenix/build/linux-mainline-5.12/.config. However when going to ./fenix/make kernel it overwrites the .config again with defaults. I presume the “make kernel-config” allows me to overwrite the defaults but it does not work.