modules.mk 749 B

1234567891011121314151617181920212223242526
  1. #
  2. # Copyright (C) 2006-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. define KernelPackage/usb-rt305x-dwc_otg
  8. TITLE:=RT305X USB controller driver
  9. DEPENDS:=@TARGET_ramips_rt305x
  10. KCONFIG:= \
  11. CONFIG_DWC_OTG \
  12. CONFIG_DWC_OTG_HOST_ONLY=y \
  13. CONFIG_DWC_OTG_DEVICE_ONLY=n \
  14. CONFIG_DWC_OTG_DEBUG=n
  15. FILES:=$(LINUX_DIR)/drivers/usb/dwc_otg/dwc_otg.ko
  16. AUTOLOAD:=$(call AutoLoad,54,dwc_otg,1)
  17. $(call AddDepends/usb)
  18. endef
  19. define KernelPackage/usb-rt305x-dwc_otg/description
  20. This driver provides USB Device Controller support for the
  21. Synopsys DesignWare USB OTG Core used in the Ralink RT305X SoCs.
  22. endef
  23. $(eval $(call KernelPackage,usb-rt305x-dwc_otg))