5aef152cd8460377f5cd49ca15bef2ae60789417
[openwrt/openwrt.git] / target / linux / etrax / modules.mk
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
8 define KernelPackage/usb-etrax
9 SUBMENU:=$(USB_MENU)
10 TITLE:=Support for the ETRAX USB host controller
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,@TARGET_etrax)
16 endef
17
18 define KernelPackage/usb-etrax/description
19 Kernel support for the ETRAX USB host controller
20 endef
21
22 $(eval $(call KernelPackage,usb-etrax))