After following the fix here to rectify issues with extracting the tar file containing u-boot; the `make` command to build the pre-loader fails.
... make: Entering directory '/cygdrive/c/Users/sydunajw/Downloads/DE10_Standard_GHRD/software/spl_bsp/uboot-socfpga' Generating include/autoconf.mk Generating include/autoconf.mk.dep include/autoconf.mk.dep:2: *** missing separator. Stop. ...
Investigating the file showed that the generated file autoconf.mk.dep (attached as autoconf.mk.txt) contained trailing forward slashes. If the intention is to continue the line then I believe this should be a backward slash. If these trailing slashes are changed to backward slashes, then the compilation continues until the next file which appear to have the same issue and make error.
Attached is also the output from `make`.
My apologize for the late reply. I did few tests on SoC EDS, and probably the makefile is not working due to windows update. I will report this to our internal team for a solution.
As a workaround, you can use /usr/bin/make instead of make.
This should be done at the first time on creating preloader. With Uboot, you can use make uboot.
We actually also had issues with using the /usr/bin/make command as this also failed to compile the preloader. Whilst it appears that it cannot be run on Cygwin, it appears possible with WSL.