diff options
-rwxr-xr-x | scripts/oe-buildenv-internal | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal index ba0a9b44d6..e0d920f2fc 100755 --- a/scripts/oe-buildenv-internal +++ b/scripts/oe-buildenv-internal | |||
@@ -88,6 +88,10 @@ if [ ! -d "$BITBAKEDIR" ]; then | |||
88 | return 1 | 88 | return 1 |
89 | fi | 89 | fi |
90 | 90 | ||
91 | # Add BitBake's library to PYTHONPATH | ||
92 | PYTHONPATH=$BITBAKEDIR/lib:$PYTHONPATH | ||
93 | export PYTHONPATH | ||
94 | |||
91 | # Make sure our paths are at the beginning of $PATH | 95 | # Make sure our paths are at the beginning of $PATH |
92 | for newpath in "$BITBAKEDIR/bin" "$OEROOT/scripts"; do | 96 | for newpath in "$BITBAKEDIR/bin" "$OEROOT/scripts"; do |
93 | # Remove any existences of $newpath from $PATH | 97 | # Remove any existences of $newpath from $PATH |