Error -./build.sh: 5: declare: not found or gzip: stdin: unexpected end of file
build.sh uses ´declare´ which is a bash builtin command. However build.sh starts with:
and works only if /bin/sh is a link to bash on your system.
To overcome this, just patch build.sh to start with:
If you experience subsequent build errors, do the build manually with the following pre-conditions:
Manual build procedure
where PLATFORM is one out of:
For the other platforms, CC9P9360, and CC(Wi-)9C use the newer U-Boot 1.1.4 or 1.1.6.For the other platforms, CC9P9360, and CC(Wi-)9C use the newer U-Boot 1.1.4 or 1.1.6.
Note: make clean will also remove s.t. from your toolchain/ directory, so after make clean you have to re-install the toolchain from the tar.gz