summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual
diff options
context:
space:
mode:
authorChin Huat Ang <chin.huat.ang@intel.com>2018-04-25 16:00:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-11-05 16:02:44 +0000
commit16c0989eec80d8661e2fc9a1011c4ae1f154ffbc (patch)
treeb20461ba267310cd4c353188f856128cd33653ec /documentation/ref-manual
parentd9122cb2d0048033b3fae664dac2a5dff4c213df (diff)
downloadpoky-16c0989eec80d8661e2fc9a1011c4ae1f154ffbc.tar.gz
toolchain-scripts: preserve host path in environment setup script
The environment setup script generated in the build directory sets the PATH variable by expanding ${PATH} which would have host paths filtered. Sourcing this script to run runqemu will not work as it complains host stty (/bin/stty) cannot be found. To resolve this, the script no longer expands ${PATH} during generation time, instead it will now source oe-init-build-env to initialize the build environment so that all host paths will be preserved. Also be sure to prepend STAGING_BINDIR_TOOLCHAIN to the PATH variable so that the toolchain from the build directory can be found. [YOCTO #12695] (From OE-Core rev: a64a144096c0637387244b89ed22f4b5352b2522) (From OE-Core rev: d4657ac24542967ecd241726063da2d2dc3e9e23) Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
0 files changed, 0 insertions, 0 deletions