diff options
author | lumag <dbaryshkov@gmail.com> | 2020-12-21 02:27:01 +0300 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-12-20 22:19:33 -0800 |
commit | d00a1f363d7636094f84c86cbceb28d46154be8a (patch) | |
tree | 20968430f4efdcee473e7ee58024327843a75b21 /meta-oe | |
parent | d36e527a406b241dbfaae2ce9e84fa4cfb27a81e (diff) | |
download | meta-openembedded-contrib-d00a1f363d7636094f84c86cbceb28d46154be8a.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb index fea4f7eba1..ae1463942a 100644 --- a/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb +++ b/meta-oe/recipes-devtools/android-tools/android-tools_5.1.1.r37.bb @@ -67,7 +67,8 @@ COMPATIBLE_HOST_powerpc64le = "(null)" 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 CC_append_class-native = " -I${STAGING_INCDIR}" @@ -157,11 +158,16 @@ do_install() { fi } -PACKAGES =+ "${PN}-fstools" +PACKAGES =+ "${PN}-fstools ${PN}-adbd" -RDEPENDS_${BPN} = "${BPN}-conf" +RDEPENDS_${BPN}-adbd = "${BPN}-conf" RDEPENDS_${BPN}-fstools = "bash" +FILES_${PN}-adbd = "\ + ${bindir}/adbd \ + ${systemd_unitdir}/system/android-tools-adbd.service \ +" + FILES_${PN}-fstools = "\ ${bindir}/ext2simg \ ${bindir}/ext4fixup \ |