disapproval of revision '0f9c4e9a82d594fcb5e8f31c8f8e761f3d47f099'
authorKoen Kooi <koen@openembedded.org>
Mon, 30 Jul 2007 12:26:22 +0000 (12:26 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 30 Jul 2007 12:26:22 +0000 (12:26 +0000)
classes/openmoko2.bbclass

index 150448a..4675b6a 100644 (file)
@@ -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"