mirror of
https://git.yoctoproject.org/poky
synced 2026-07-27 19:37:10 +00:00
classes: Remove and sanitise import statements
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -4,7 +4,6 @@ OPENMOKO_RELEASE ?= "OM-2007"
|
||||
OPENMOKO_MIRROR ?= "svn://svn.openmoko.org/trunk"
|
||||
|
||||
def openmoko_base_get_subdir(d):
|
||||
import bb
|
||||
openmoko, section = bb.data.getVar('SECTION', d, 1).split("/")
|
||||
if section == 'base' or section == 'libs': return ""
|
||||
elif section in 'apps tools pim'.split(): return "applications"
|
||||
|
||||
Reference in New Issue
Block a user