diff options
Diffstat (limited to 'dynamic-layers/selinux/android-tools/android-tools-conf_1.0.bb')
-rw-r--r-- | dynamic-layers/selinux/android-tools/android-tools-conf_1.0.bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/dynamic-layers/selinux/android-tools/android-tools-conf_1.0.bb b/dynamic-layers/selinux/android-tools/android-tools-conf_1.0.bb new file mode 100644 index 0000000..34b1a9b --- /dev/null +++ b/dynamic-layers/selinux/android-tools/android-tools-conf_1.0.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "Different utilities from Android - corressponding configuration files" | ||
2 | SECTION = "console/utils" | ||
3 | LICENSE = "MIT" | ||
4 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
5 | |||
6 | SRC_URI = "file://android-gadget-setup" | ||
7 | |||
8 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
9 | |||
10 | do_install() { | ||
11 | install -d ${D}${bindir} | ||
12 | install -m 0755 ${WORKDIR}/android-gadget-setup ${D}${bindir} | ||
13 | } | ||
14 | |||
15 | python () { | ||
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 | } | ||