Combine poky (Yocto scarthgap), meta-openembedded (scarthgap), and meta-openwrt into a single repository. Components: - poky/ Yocto core framework (BitBake + OE-Core) - meta-openembedded/ Community layers (meta-oe, meta-python, meta-networking) - meta-openwrt/ OpenWrt customization layer - setup-env.sh One-click build environment setup - README.md Project documentation
25 lines
309 B
Bash
25 lines
309 B
Bash
#!/bin/sh
|
|
|
|
[ -d /sys/kernel/config/usb_gadget ] || exit 0
|
|
|
|
cd /sys/kernel/config/usb_gadget
|
|
|
|
cd adb
|
|
|
|
echo "" > UDC || true
|
|
|
|
killall adbd || true
|
|
|
|
umount /dev/usb-ffs/adb
|
|
|
|
rm configs/c.1/ffs.usb0
|
|
|
|
rmdir configs/c.1/strings/0x409
|
|
rmdir configs/c.1
|
|
|
|
rmdir functions/ffs.usb0
|
|
rmdir strings/0x409
|
|
|
|
cd ..
|
|
rmdir adb
|