Fix an error that happens if the build is made out of the SDK's customer_app folder.
The error doesn't prevent the build of the binary though.
This is the error that the fix now avoids:
Traceback (most recent call last):
File "<path_to_sdk>/bl_iot_sdk/image_conf/flash_build.py", line 1397, in <module>
shutil.copy(eflash_loader_cfg_org, eflash_loader_cfg)
File "/usr/lib/python3.9/shutil.py", line 418, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/lib/python3.9/shutil.py", line 264, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '<path_to_sdk>/bl_iot_sdk/customer_app/project/build_out/eflash_loader_cfg.ini'
make: *** [<path_to_sdk>/bl_iot_sdk/make_scripts_riscv/project.mk:195: all] Error 1
Fix an error that happens if the build is made out of the SDK's
customer_app
folder. The error doesn't prevent the build of the binary though. This is the error that the fix now avoids: