mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
66f56dda5e
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>
21 lines
619 B
BlitzBasic
21 lines
619 B
BlitzBasic
DESCRIPTION = "Different utilities from Android - corresponding configuration files"
|
|
SECTION = "console/utils"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
SRC_URI = "file://android-gadget-setup"
|
|
|
|
S = "${UNPACKDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 ${UNPACKDIR}/android-gadget-setup ${D}${bindir}
|
|
}
|
|
|
|
python () {
|
|
pn = d.getVar('PN')
|
|
profprov = d.getVar("PREFERRED_PROVIDER_" + pn)
|
|
if profprov and pn != profprov:
|
|
raise bb.parse.SkipRecipe("PREFERRED_PROVIDER_%s set to %s, not %s" % (pn, profprov, pn))
|
|
}
|