Re: A tiny patch for env.sh
"Marc-F. Lucca-Daniau" <[email protected]> Sat, 1 Feb 2020 11:46:04 +0100
| Newsgroups | org.kernel.vger.linux-8086 |
|---|---|
| Message-ID | <[email protected]> |
Hello Marcin, Mmm... thanks for the patch, but it looks like you are not invoking the 'env.sh' script as instructed in the README. You should rather type the command: ". tools/env.sh" (with a space between '.' and 'tools/env.sh'), otherwise the environment set by the script would be lost on return. MFLD Le 31/01/2020 à 11:06, Marcin Laszewski a écrit : > I have ataeched a tiny patch for this simple problem: > > .................................................................... > $ LANG=C ./tools/env.sh > TOPDIR set to /home/laser/laser/install/elks > ERROR: Missing folder for cross build tools. > Create an empty folder, either at the top of this ELKS tree, > or outside this tree and link it from: > /home/laser/laser/install/elks/cross > ./tools/env.sh: line 22: return: can only `return' from a function or > sourced script > CROSSDIR set to /home/laser/laser/install/elks/cross > PATH set to /home/laser/laser/install/elks/elks/tools/bin:/home/laser/laser/install/elks/cross/bin:/home/laser/laser/install/openwrt/openwrt/staging_dir/toolchain-mips_24kc_gcc-5.4.0_musl-1.1.16/bin/:/home/laser/laser/bin-sh:/home/laser/laser/biomaxima/bin:/home/laser/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/sbin > MAKEFLAGS set to > ............................................................... > > Sincerely, Marcin.