summaryrefslogtreecommitdiffstats
path: root/meta/classes/sourcepkg.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/sourcepkg.bbclass')
-rw-r--r--meta/classes/sourcepkg.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/sourcepkg.bbclass b/meta/classes/sourcepkg.bbclass
index 390d3684d4..f738553039 100644
--- a/meta/classes/sourcepkg.bbclass
+++ b/meta/classes/sourcepkg.bbclass
@@ -5,8 +5,6 @@ EXCLUDE_FROM ?= ".pc autom4te.cache"
5DISTRO ?= "openembedded" 5DISTRO ?= "openembedded"
6 6
7def get_src_tree(d): 7def get_src_tree(d):
8 import bb
9 import os, os.path
10 8
11 workdir = bb.data.getVar('WORKDIR', d, 1) 9 workdir = bb.data.getVar('WORKDIR', d, 1)
12 if not workdir: 10 if not workdir:
@@ -56,8 +54,6 @@ sourcepkg_do_archive_bb() {
56} 54}
57 55
58python sourcepkg_do_dumpdata() { 56python sourcepkg_do_dumpdata() {
59 import os
60 import os.path
61 57
62 workdir = bb.data.getVar('WORKDIR', d, 1) 58 workdir = bb.data.getVar('WORKDIR', d, 1)
63 distro = bb.data.getVar('DISTRO', d, 1) 59 distro = bb.data.getVar('DISTRO', d, 1)