modules.mk 666 B

1234567891011121314151617181920212223
  1. #
  2. # Copyright (C) 2010 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-etrax
  8. SUBMENU:=$(USB_MENU)
  9. TITLE:=Support for the ETRAX USB host controller
  10. DEPENDS:=@TARGET_etrax
  11. KCONFIG:=CONFIG_ETRAX_USB_HOST \
  12. CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y
  13. FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX)
  14. AUTOLOAD:=$(call AutoLoad,50,hc-crisv10,1)
  15. $(call AddDepends/usb)
  16. endef
  17. define KernelPackage/usb-etrax/description
  18. Kernel support for the ETRAX USB host controller
  19. endef
  20. $(eval $(call KernelPackage,usb-etrax))