diff options
author | Koen Kooi <koen@openembedded.org> | 2007-07-30 12:26:22 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-07-30 12:26:22 +0000 |
commit | 078d7b17262b2510140d1a372cc816879af1740b (patch) | |
tree | a89b12a03db96fe798ea701439f7578d067d992a /classes | |
parent | 22e8cbdc0a528809d27b957dcf5d36ea746ff6a9 (diff) |
disapproval of revision '0f9c4e9a82d594fcb5e8f31c8f8e761f3d47f099'
Diffstat (limited to 'classes')
-rw-r--r-- | classes/openmoko2.bbclass | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/classes/openmoko2.bbclass b/classes/openmoko2.bbclass index 150448a2e5..4675b6a10e 100644 --- a/classes/openmoko2.bbclass +++ b/classes/openmoko2.bbclass @@ -19,17 +19,10 @@ def openmoko_two_get_subdir(d): elif section == "inputmethods": return "inputmethods" else: return section -def openmoko_strip_two(d): - import bb - pname, openmokonumber = bb.data.getVar('PN', d, 1).split("2") - return pname - - LICENSE = "${@openmoko_two_get_license(d)}" SUBDIR = "${@openmoko_two_get_subdir(d)}" -PNAME = "${@openmoko_strip_two(d)}" -SRC_URI := "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/${SUBDIR};module=${PNAME};proto=http" -S = "${WORKDIR}/${PNAME}" +SRC_URI := "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/${SUBDIR};module=${PN};proto=http" +S = "${WORKDIR}/${PN}" FILES_${PN} += "${datadir}/icons" |