diff options
author | Chris Larson <clarson@kergoth.com> | 2004-12-09 12:40:43 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-12-09 12:40:43 +0000 |
commit | 6fc7d4f0f7390b45cd8b2ee8207a4a96f10ac563 (patch) | |
tree | 4ee269373293a8652f30ae647fe9d9c61ea81a6a | |
parent | 7726a4cab1fb7de0edb155f2397b81c3aea18e73 (diff) | |
download | bitbake-6fc7d4f0f7390b45cd8b2ee8207a4a96f10ac563.tar.gz |
Fix the BBPATH mangling fix..
-rw-r--r-- | lib/bb/parse/BBHandler.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bb/parse/BBHandler.py b/lib/bb/parse/BBHandler.py index 619b45d94..b3b96cb08 100644 --- a/lib/bb/parse/BBHandler.py +++ b/lib/bb/parse/BBHandler.py @@ -119,6 +119,8 @@ def handle(fn, d = {}, include = 0): i[0:0] = ["base"] inherit(i, d) + if not bbpath: + bbpath = (data.getVar('BBPATH', d, 1) or "").split(':') bbpath.insert(0, os.path.dirname(fn)) data.setVar('BBPATH', ":".join(bbpath), d) |