From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marc-F. Lucca-Daniau" Subject: Re: A tiny patch for env.sh Date: Sat, 1 Feb 2020 11:46:04 +0100 Message-ID: <92cf971f-ea9f-3815-c3cc-7bdbfdfd13c9@gmail.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=mWxU9FdC4GoA0PNGJ+ShpQn5x9PDQDgr7ttyZAmKenM=; b=ctN8/KRvXGmdtmygjD2BJoSKfcIpplhk5lZPcjk09G3ySF5HYFVBQFfPNpiYfs+yQ6 9SVoZwLS/Y+pBXaiemngiCnF4gB9CKO75fgTOc5tDK5noiCuabrjAQjgXk00Jf7sdFKb LrfYipKuGkgAOH++GcbeZTt61kZM6QdYQEkm6yFqRSNtVvUD8x+87cndGQj3IimwD9Cm Zf8vKuMZub1QugqSxYGA8yC234ZJAxkScFp4BtZBmUtcyfvfZsdrjqYBovyf+5nkWYuJ yohOjw3dUK21MwygxVhwCFdSNmKUnCovVEYc6EEoetkf/35QK0JH6y4bE637KgWnEVxD bPow== In-Reply-To: Content-Language: fr-FR Sender: linux-8086-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="utf-8"; format="flowed" To: Marcin Laszewski , ELKS 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.