summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
diff options
context:
space:
mode:
authorAshishKumar Mishra <ashishkumar.mishra@bmwtechworks.in>2026-05-05 20:36:32 +0530
committerKhem Raj <khem.raj@oss.qualcomm.com>2026-05-12 01:07:01 -0700
commit9efb0743a97663738b77f4d09d244aad85691b9e (patch)
treedc3691a6e0c1c5c1d3086ccbfb94ab7db61d9008 /meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
parent5aaebcd7a880e7ba0b4a93e04730fc4eb8f8c4f6 (diff)
downloadmeta-openembedded-9efb0743a97663738b77f4d09d244aad85691b9e.tar.gz
android-tools: move android-tools v29.x from dynamic-layers/selinux to meta-oe
Relocate the recipe from dynamic-layers/selinux/ to the main meta-oe/recipes-devtools/ directory. The android-tools recipe (version 29.0.6.r14) was previously restricted to the selinux dynamic-layer. Investigation shows that version 29.0.6.r14 does not have a hard dependency on libselinux for core tool functionality. (adb, fastboot, and sparse image tools). - Basic runable test was done for binaries in android-tools-native - Checked for selinux absense by looking for selinx using $ ldd binary-name Changes: - Relocate recipe from dynamic-layers/selinux/ to recipes-devtools/ Signed-off-by: AshishKumar Mishra <ashishkumar.mishra@bmwtechworks.in> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb')
-rw-r--r--meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
new file mode 100644
index 0000000000..7bbac1db75
--- /dev/null
+++ b/meta-oe/recipes-devtools/android-tools/android-tools-conf_1.0.bb
@@ -0,0 +1,20 @@
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
8S = "${UNPACKDIR}"
9
10do_install() {
11 install -d ${D}${bindir}
12 install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
13}
14
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}