summaryrefslogtreecommitdiff
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch/local.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py
index 3553f37a7..882a2c460 100644
--- a/bitbake/lib/bb/fetch/local.py
+++ b/bitbake/lib/bb/fetch/local.py
@@ -50,10 +50,6 @@ class Local(Fetch):
if filespath:
newpath = bb.utils.which(filespath, path)
if not newpath:
- dlpath = os.path.join(data.getVar('DL_DIR', d, True), path)
- if os.exists(dlpath):
- newpath = dlpath
- if not newpath:
filesdir = data.getVar('FILESDIR', d, 1)
if filesdir:
newpath = os.path.join(filesdir, path)