summaryrefslogtreecommitdiffstats
path: root/target/linux/cns21xx/modules.mk
blob: 9882ee8c1021c3e79025f0a7eb86bf1838c51ddf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#
# Copyright (C) 2103 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

define KernelPackage/usb2-cns21xx
  TITLE:=Support for the built-in EHCI controller of the CNS21xx SoCs
  DEPENDS:=@TARGET_cns21xx +kmod-usb2
  KCONFIG:=CONFIG_USB_EHCI_CNS21XX
  FILES:=$(LINUX_DIR)/drivers/usb/host/ehci-cns21xx.ko
  AUTOLOAD:=$(call AutoLoad,41,ehci-cns21xx,1)
  $(call AddDepends/usb)
endef

define KernelPackage/usb2-cns21xx/description
 Kernel support for the built-in EHCI controller of the CNS21xx SoCs.
endef

$(eval $(call KernelPackage,usb2-cns21xx))