From: Chukun Pan Date: Fri, 21 Feb 2025 14:01:05 +0000 (+0800) Subject: sunxi: enable usbgadget feature X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9df4a88e603169d7c9bd31b00d4f498ac9f0f7f0;p=openwrt%2Fopenwrt.git sunxi: enable usbgadget feature The USB of most sunxi devices works in otg or peripheral mode. Enable this feature to use usbgadget. Tested on OrangePi Zero3. Signed-off-by: Chukun Pan Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250221140105.250920-1-amadeus@jmu.edu.cn/ Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/sunxi/Makefile b/target/linux/sunxi/Makefile index d91e5c5a3e..193383e940 100644 --- a/target/linux/sunxi/Makefile +++ b/target/linux/sunxi/Makefile @@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk ARCH:=arm BOARD:=sunxi BOARDNAME:=Allwinner ARM SoCs -FEATURES:=usb ext4 display rootfs-part rtc squashfs +FEATURES:=ext4 display rootfs-part rtc squashfs usb usbgadget SUBTARGETS:=cortexa8 cortexa7 cortexa53 KERNEL_PATCHVER:=6.6