summaryrefslogtreecommitdiffstats
path: root/meta/classes/siteinfo.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-08 22:32:43 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:28 +0000
commitc54117458a19d05d404ec00907a8f3e9c73a416b (patch)
tree6cc5695742a1198668b022b35c8b2a456c4f3f4f /meta/classes/siteinfo.bbclass
parent80d55bbd6ea2ff93510f3b87ea97322b0b02eaa8 (diff)
downloadpoky-c54117458a19d05d404ec00907a8f3e9c73a416b.tar.gz
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/siteinfo.bbclass')
-rw-r--r--meta/classes/siteinfo.bbclass4
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass
index 431b81ce29..7b012b7ba7 100644
--- a/meta/classes/siteinfo.bbclass
+++ b/meta/classes/siteinfo.bbclass
@@ -16,8 +16,6 @@
16# If 'what' doesn't exist then an empty value is returned 16# If 'what' doesn't exist then an empty value is returned
17# 17#
18def get_siteinfo_list(d): 18def get_siteinfo_list(d):
19 import bb
20
21 target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1) 19 target = bb.data.getVar('HOST_ARCH', d, 1) + "-" + bb.data.getVar('HOST_OS', d, 1)
22 20
23 targetinfo = {\ 21 targetinfo = {\
@@ -74,8 +72,6 @@ def get_siteinfo_list(d):
74# 2) ${FILE_DIRNAME}/site-${PV} - app version specific 72# 2) ${FILE_DIRNAME}/site-${PV} - app version specific
75# 73#
76def siteinfo_get_files(d): 74def siteinfo_get_files(d):
77 import bb, os
78
79 sitefiles = "" 75 sitefiles = ""
80 76
81 # Determine which site files to look for 77 # Determine which site files to look for