mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-06 22:24:40 +02:00
The package android-tools-conf depends on presence of /sys/class/android_usb, which is not present in default (mainline) kernels. Add a set of scripts that will use ConfigFS to configure USB gadget rather than using non-standard device class. Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
8 lines
87 B
Bash
8 lines
87 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
sleep 3
|
|
|
|
ls /sys/class/udc/ > /sys/kernel/config/usb_gadget/adb/UDC
|