mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-05-18 20:23:20 +00:00
If PREFERRED_PROVIDER_android-tool-conf is set, build-deps checker will incorrectly resolve android-tools-conf runtime dependency to android-tools-conf recipe rather than the selected recipe. To fix the following warning, make android-tools-conf recipe raise SkipRecipe if it is not the preferred android-tools-conf provider. WARNING: android-tools-5.1.1.r37-r0 do_package_qa: QA Issue: android-tools-adbd rdepends on android-tools-conf, but it isn't a build dependency, missing android-tools-conf in DEPENDS or PACKAGECONFIG? [build-deps] Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
21 lines
632 B
BlitzBasic
21 lines
632 B
BlitzBasic
DESCRIPTION = "Different utilities from Android - corressponding configuration files"
|
|
SECTION = "console/utils"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
|
|
|
|
SRC_URI = "file://android-gadget-setup"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
do_install() {
|
|
install -d ${D}${bindir}
|
|
install -m 0755 ${WORKDIR}/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))
|
|
}
|