Still error. See below history what I did:
177 mkdir project
178 cd project/
179 git clone --depth 1 GitHub - khadas/fenix: One-stop script set to build Ubuntu/Debian images
180 cd ~/project/fenix
181 source env/setenv.sh
182 make help
183 make kernel-config
It then ran though a number of steps and failed here
…
…
2021-05-11 12:14:31 (347 KB/s) - ‘images_upgrade-df70a352d25388eff7e25e59d0efda80ad26bf2b.tar.gz’ saved [236701]
Calculated checksum is: a955630eafcb73c96c7cd6c8325357bb52120e2a4e3a5d51fc0a8f7007f5acd8
Extracting ‘images_upgrade-df70a352d25388eff7e25e59d0efda80ad26bf2b.tar.gz’ to ‘/home/ubuntu/project/fenix/build’…
Info: Config linux…
cp: cannot create regular file ‘/home/ubuntu/project/fenix/build/linux-mainline-*/.config’: No such file or directory
make: *** [Makefile:39: kernel-config] Error 1
THIS IS THE SETUP:
4. VIM3
2. uboot-mainline
- linux-mainline
- Ubuntu
- focal
- minimal
- SD
N. Do not compress
if I however add this line in ./fenix/config/functions/build
LINUX_DIR=/home/ubuntu/dashcam/fenix/build/linux-mainline-5.12
then it works. So it appears that LINUX_DIR is not setup correctly.