diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-09 00:14:38 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-11 16:08:48 +0000 |
commit | fa764a403da34bb0ca9fa3767a9e9dba8d685965 (patch) | |
tree | a981b5deb187d7900d5c6fd2a504a08adecf2126 /scripts/lib/devtool/package.py | |
parent | 30a9f0fcf608815cc920de4aba8ec0d1cf467b07 (diff) | |
download | openembedded-core-fa764a403da34bb0ca9fa3767a9e9dba8d685965.tar.gz openembedded-core-fa764a403da34bb0ca9fa3767a9e9dba8d685965.tar.bz2 openembedded-core-fa764a403da34bb0ca9fa3767a9e9dba8d685965.zip |
base/bitbake.conf: Filter contents of PATH to only allow whitelisted tools
We currently have a determinism problem in that the host tools present
in PATH can influence the build. In particular, the presence of pkg-config
on the build host can mask missing pkgconfig class dependencies.
This adds in a new HOSTTOOLS variable and then uses it to set up a directory
of symlinks to the whitelisted host tools. This directory is placed as PATH
instead of the usual /usr/bin:/bin and so on.
This should improve determinism of builds and avoid the issues which have
been particularly obvious since the introduction of recipe specific sysroots.
If users find there is a tool missing, they can extend HOSTTOOLS from a global
class or global conf file.
Right now the settings should be enough to build everything in OE-Core.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/package.py')
0 files changed, 0 insertions, 0 deletions