1fc113eadSAndrew GeisslerDESCRIPTION = "Different utilities from Android - corresponding configuration files" 2fc113eadSAndrew GeisslerSECTION = "console/utils" 3fc113eadSAndrew GeisslerLICENSE = "MIT" 4fc113eadSAndrew GeisslerLIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" 5fc113eadSAndrew Geissler 6fc113eadSAndrew GeisslerSRC_URI = "file://android-gadget-setup" 7fc113eadSAndrew Geissler 8fc113eadSAndrew Geisslerdo_install() { 9fc113eadSAndrew Geissler install -d ${D}${bindir} 10*edff4923SAndrew Geissler install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir} 11fc113eadSAndrew Geissler} 12fc113eadSAndrew Geissler 13fc113eadSAndrew Geisslerpython () { 14fc113eadSAndrew Geissler pn = d.getVar('PN') 15fc113eadSAndrew Geissler profprov = d.getVar("PREFERRED_PROVIDER_" + pn) 16fc113eadSAndrew Geissler if profprov and pn != profprov: 17fc113eadSAndrew Geissler raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn)) 18fc113eadSAndrew Geissler} 19