mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
android-tools: drop useless USB_DEBUGGING_ENABLED handling
This reverts commits4271cc2827("android-tools: Add flag to enable adbd service (#147)") andb85ae59968("android-tools 10: Add flag to enable adbd service"). These two commits added optional ROOTFS_POSTPROCESS_COMMAND touching the flag file, however this variable doesn't make any sense in the package recipe, it is only concerned in the image context. Drop useless code from the android-tools recipe. Fixes:4271cc2827("android-tools: Add flag to enable adbd service (#147)") Fixes:b85ae59968("android-tools 10: Add flag to enable adbd service") Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
f0f690a64d
commit
6b44831860
|
|
@ -188,9 +188,3 @@ FILES:${PN}-fstools = "\
|
|||
FILES:${PN} += "${libdir}/android ${libdir}/android/*"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
android_tools_enable_devmode() {
|
||||
touch ${IMAGE_ROOTFS}/etc/usb-debugging-enabled
|
||||
}
|
||||
|
||||
ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd += "${@bb.utils.contains("USB_DEBUGGING_ENABLED", "1", "android_tools_enable_devmode;", "", d)}"
|
||||
|
|
|
|||
|
|
@ -188,12 +188,6 @@ FILES:${PN}-fstools = "\
|
|||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
android_tools_enable_devmode() {
|
||||
touch ${IMAGE_ROOTFS}/etc/usb-debugging-enabled
|
||||
}
|
||||
|
||||
ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd += "${@bb.utils.contains("USB_DEBUGGING_ENABLED", "1", "android_tools_enable_devmode;", "", d)}"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/766881/
|
||||
# android-tools/5.1.1.r37/git/system/core/adb/adb_auth_host.c:86:23: error: passing argument 2 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types]
|
||||
# android-tools/5.1.1.r37/git/system/core/adb/adb_auth_host.c:86:27: error: passing argument 3 of 'RSA_get0_key' from incompatible pointer type [-Wincompatible-pointer-types]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user