Merge pull request #90 from marineam/sysroot

fix(profiles): Add sysroot-wrappers to PATH
This commit is contained in:
Michael Marineau 2013-07-17 17:12:40 -07:00
commit 991f2cd585

View File

@ -112,3 +112,9 @@ cros_pre_src_unpack_python_multilib_setup() {
cros_pre_pkg_setup_sysroot_build_bin_dir() {
PATH+=":${CROS_BUILD_BOARD_BIN}"
}
# Insert our sysroot wrappers into the path
SYSROOT_WRAPPERS_BIN="/usr/lib/sysroot-wrappers/bin"
if [[ "$PATH" != *"$SYSROOT_WRAPPERS_BIN"* ]]; then
export PATH="$SYSROOT_WRAPPERS_BIN:$PATH"
fi