summaryrefslogtreecommitdiffstats
path: root/meta/classes/openmoko2.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/openmoko2.bbclass')
-rw-r--r--meta/classes/openmoko2.bbclass2
1 files changed, 0 insertions, 2 deletions
diff --git a/meta/classes/openmoko2.bbclass b/meta/classes/openmoko2.bbclass
index ef734e4311..233c721ff7 100644
--- a/meta/classes/openmoko2.bbclass
+++ b/meta/classes/openmoko2.bbclass
@@ -5,12 +5,10 @@ OPENMOKO_RELEASE ?= "OM-2007.2"
5OPENMOKO_MIRROR ?= "svn://svn.openmoko.org/trunk" 5OPENMOKO_MIRROR ?= "svn://svn.openmoko.org/trunk"
6 6
7def openmoko_two_get_license(d): 7def openmoko_two_get_license(d):
8 import bb
9 openmoko, section = bb.data.getVar('SECTION', d, 1).split("/") 8 openmoko, section = bb.data.getVar('SECTION', d, 1).split("/")
10 return "LGPL GPL".split()[section != "libs"] 9 return "LGPL GPL".split()[section != "libs"]
11 10
12def openmoko_two_get_subdir(d): 11def openmoko_two_get_subdir(d):
13 import bb
14 openmoko, section = bb.data.getVar('SECTION', d, 1).split("/") 12 openmoko, section = bb.data.getVar('SECTION', d, 1).split("/")
15 if section == 'base': return "" 13 if section == 'base': return ""
16 elif section == 'libs': return "libraries" 14 elif section == 'libs': return "libraries"