mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-22 15:02:32 +00:00
33abdc07fb
When using the Gemini, we apply patches that create a single module that support both host and device mode these days. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> (move module to gemini target, keep both 6.1+2-ish + 5.15 module CONFIG and files around until 5.15 is dropped) Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
15 lines
569 B
Makefile
15 lines
569 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:=$(if $(CONFIG_USB_FOTG210_HCD),$(LINUX_DIR)/drivers/usb/host/fotg210-hcd.ko@lt6.1) \
|
|
$(if $(CONFIG_USB_FOTG210),$(LINUX_DIR)/drivers/usb/fotg210/fotg210.ko@ge6.1)
|
|
AUTOLOAD:=$(call AutoLoad,50, \
|
|
$(if $(CONFIG_USB_FOTG210_HCD),fotg210-hcd@lt6.1) \
|
|
$(if $(CONFIG_USB_FOTG210),fotg210@ge6.1),1)
|
|
$(call AddDepends/usb)
|
|
endef
|
|
|
|
$(eval $(call KernelPackage,usb-fotg210))
|