mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-17 18:59:53 +00:00
f371896070
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
|