mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 01:50:18 +00:00
android-tools: split adbd to the separate package
Usually one would install adbd on a device, where adb and mkbootimg are of little use. Split adbd to the separate package. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -67,7 +67,8 @@ COMPATIBLE_HOST_powerpc64le = "(null)"
|
|||||||
|
|
||||||
inherit systemd
|
inherit systemd
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "android-tools-adbd.service"
|
SYSTEMD_PACKAGES = "${PN}-adbd"
|
||||||
|
SYSTEMD_SERVICE_${PN}-adbd = "android-tools-adbd.service"
|
||||||
|
|
||||||
# Find libbsd headers during native builds
|
# Find libbsd headers during native builds
|
||||||
CC_append_class-native = " -I${STAGING_INCDIR}"
|
CC_append_class-native = " -I${STAGING_INCDIR}"
|
||||||
@@ -157,11 +158,16 @@ do_install() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-fstools"
|
PACKAGES =+ "${PN}-fstools ${PN}-adbd"
|
||||||
|
|
||||||
RDEPENDS_${BPN} = "${BPN}-conf"
|
RDEPENDS_${BPN}-adbd = "${BPN}-conf"
|
||||||
RDEPENDS_${BPN}-fstools = "bash"
|
RDEPENDS_${BPN}-fstools = "bash"
|
||||||
|
|
||||||
|
FILES_${PN}-adbd = "\
|
||||||
|
${bindir}/adbd \
|
||||||
|
${systemd_unitdir}/system/android-tools-adbd.service \
|
||||||
|
"
|
||||||
|
|
||||||
FILES_${PN}-fstools = "\
|
FILES_${PN}-fstools = "\
|
||||||
${bindir}/ext2simg \
|
${bindir}/ext2simg \
|
||||||
${bindir}/ext4fixup \
|
${bindir}/ext4fixup \
|
||||||
|
|||||||
Reference in New Issue
Block a user