mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
android-tools: Add flag to enable adbd service (#147)
android-tools-adbd service can be enabled in the image using USB_DEBUGGING_ENABLED = "1" in local.conf. Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
aa2201d989
commit
4271cc2827
|
|
@ -180,3 +180,9 @@ FILES:${PN}-fstools = "\
|
|||
"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
android_tools_enable_devmode() {
|
||||
touch ${IMAGE_ROOTFS}/var/usb-debugging-enabled
|
||||
}
|
||||
|
||||
ROOTFS_POSTPROCESS_COMMAND_${PN}-adbd += "${@bb.utils.contains("USB_DEBUGGING_ENABLED", "1", "android_tools_enable_devmode;", "", d)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user