openwrt/target/linux/gemini/modules.mk
Linus Walleij 0d510eb082
gemini: Drop kernel v5.15 and default to v6.1
There is no point in keeping the v5.15 kernel around for Gemini,
we are maintaining the platform with a strong upstream focus and
newer is always better.

Now that OpenWrt can support pure v6.1 kernels, switch up to
v6.1 and drop v5.15 so we don't need to migrate configs and
patches for no reason.

The USB FOTG2 module handling can be simplified as a result.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2023-10-04 15:01:29 +02:00

12 lines
350 B
Makefile

define KernelPackage/usb-fotg210
TITLE:=Support for FOTG210 USB host and device controllers
DEPENDS:=@USB_SUPPORT @TARGET_gemini
KCONFIG:=CONFIG_USB_FOTG210 \
CONFIG_USB_FOTG210_HCD
FILES:=$(LINUX_DIR)/drivers/usb/fotg210/fotg210.ko
AUTOLOAD:=$(call AutoLoad,50,1)
$(call AddDepends/usb)
endef
$(eval $(call KernelPackage,usb-fotg210))