diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-15 14:03:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-19 17:34:18 +0100 |
commit | d8a3cd563040e3df35f69cbebc9b0b14e5d12695 (patch) | |
tree | 8163cd1d8bebe74079d4d59b873cdf6a2294819a /meta/classes/openmoko2.bbclass | |
parent | e6cf0ba96a2a3e23cd7a3474711ae154db8ee9c7 (diff) | |
download | poky-d8a3cd563040e3df35f69cbebc9b0b14e5d12695.tar.gz |
classes: remove classes that don't belong in oe-core
These classes are not used within oe-core and really belong in an upper
layer that makes use of them, if they are still useful:
* mozilla.bbclass
* openmoko*.bbclass
* srec.bbclass
* xfce.bbclass
(From OE-Core rev: fa8779452de5e1a8ded92bdf4a952158fda6160a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/openmoko2.bbclass')
-rw-r--r-- | meta/classes/openmoko2.bbclass | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/classes/openmoko2.bbclass b/meta/classes/openmoko2.bbclass deleted file mode 100644 index 2d9f71a5e2..0000000000 --- a/meta/classes/openmoko2.bbclass +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | inherit autotools pkgconfig | ||
2 | |||
3 | HOMEPAGE = "http://www.openmoko.org" | ||
4 | OPENMOKO_RELEASE ?= "OM-2007.2" | ||
5 | OPENMOKO_MIRROR ?= "svn://svn.openmoko.org/trunk" | ||
6 | |||
7 | def openmoko_two_get_license(d): | ||
8 | openmoko, section = bb.data.getVar('SECTION', d, 1).split("/") | ||
9 | return "LGPL GPL".split()[section != "libs"] | ||
10 | |||
11 | def openmoko_two_get_subdir(d): | ||
12 | openmoko, section = bb.data.getVar('SECTION', d, 1).split("/") | ||
13 | if section == 'base': return "" | ||
14 | elif section == 'libs': return "libraries" | ||
15 | elif section in 'apps tools pim'.split(): return "applications" | ||
16 | elif section == "panel-plugin": return "panel-plugins" | ||
17 | elif section == "inputmethods": return "inputmethods" | ||
18 | elif section == "daemons": return "daemons" | ||
19 | elif section == "misc": return "misc" | ||
20 | else: return section | ||
21 | |||
22 | LICENSE = "${@openmoko_two_get_license(d)}" | ||
23 | SUBDIR = "${@openmoko_two_get_subdir(d)}" | ||
24 | |||
25 | SRC_URI := "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/${SUBDIR};module=${BPN};proto=http" | ||
26 | S = "${WORKDIR}/${PN}" | ||
27 | |||
28 | FILES_${PN} += "${datadir}/icons" | ||
29 | |||
30 | SVNREV = "r${SRCREV}" | ||
31 | #SVNREV = "${SRCDATE}" | ||