diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/fetch/local.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index 882a2c4602..3553f37a7a 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py | |||
@@ -50,6 +50,10 @@ class Local(Fetch): | |||
50 | if filespath: | 50 | if filespath: |
51 | newpath = bb.utils.which(filespath, path) | 51 | newpath = bb.utils.which(filespath, path) |
52 | if not newpath: | 52 | if not newpath: |
53 | dlpath = os.path.join(data.getVar('DL_DIR', d, True), path) | ||
54 | if os.exists(dlpath): | ||
55 | newpath = dlpath | ||
56 | if not newpath: | ||
53 | filesdir = data.getVar('FILESDIR', d, 1) | 57 | filesdir = data.getVar('FILESDIR', d, 1) |
54 | if filesdir: | 58 | if filesdir: |
55 | newpath = os.path.join(filesdir, path) | 59 | newpath = os.path.join(filesdir, path) |