blob: 34b1a9bdd2898fead396055822b836db8aa94bbe [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001DESCRIPTION = "Different utilities from Android - corressponding 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
8PACKAGE_ARCH = "${MACHINE_ARCH}"
9
10do_install() {
11 install -d ${D}${bindir}
12 install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir}
13}
Andrew Geissler72956ed2021-01-08 16:11:14 -060014
15python () {
16 pn = d.getVar('PN')
17 profprov = d.getVar("PREFERRED_PROVIDER_" + pn)
18 if profprov and pn != profprov:
19 raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn))
20}