diff options
Diffstat (limited to 'meta/classes/sourcepkg.bbclass')
-rw-r--r-- | meta/classes/sourcepkg.bbclass | 4 |
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" | |||
5 | DISTRO ?= "openembedded" | 5 | DISTRO ?= "openembedded" |
6 | 6 | ||
7 | def get_src_tree(d): | 7 | def 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 | ||
58 | python sourcepkg_do_dumpdata() { | 56 | python 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) |