1DESCRIPTION = "Different utilities from Android - corresponding configuration files"
2SECTION = "console/utils"
3LICENSE = "MIT"
4LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
5
6SRC_URI = "file://android-gadget-setup"
7
8do_install() {
9    install -d ${D}${bindir}
10    install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir}
11}
12
13python () {
14    pn = d.getVar('PN')
15    profprov = d.getVar("PREFERRED_PROVIDER_" + pn)
16    if profprov and pn != profprov:
17        raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn))
18}
19