diff options
author | Chin Huat Ang <chin.huat.ang@intel.com> | 2018-04-25 16:00:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-05-04 09:54:48 +0100 |
commit | a64a144096c0637387244b89ed22f4b5352b2522 (patch) | |
tree | c03f14d0ca971953affe19d9762353ac5331ac89 /.gitignore | |
parent | 1b03cdf290c3c8b7f903aef696b0e1bfe763cbe0 (diff) | |
download | openembedded-core-a64a144096c0637387244b89ed22f4b5352b2522.tar.gz openembedded-core-a64a144096c0637387244b89ed22f4b5352b2522.tar.bz2 openembedded-core-a64a144096c0637387244b89ed22f4b5352b2522.zip |
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]
Signed-off-by: Chin Huat Ang <chin.huat.ang@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions