From 7f3ed114f2c84012013ffecd3afe88e94d8580e4 Mon Sep 17 00:00:00 2001 From: Claudio Mignanti Date: Fri, 2 Oct 2009 09:34:10 +0000 Subject: Export USB host driver as kernel package SVN-Revision: 17818 --- package/kernel/modules/usb.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'package') diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index 4fcf5573ae..3ab32fd30b 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -134,6 +134,22 @@ endef $(eval $(call KernelPackage,usb-adm5120)) +define KernelPackage/usb-etrax + $(call usbdep,@TARGET_etrax) + DEPENDS=kmod-usb-core + TITLE:=Support for the ETRAX USB host controller + KCONFIG:=CONFIG_ETRAX_USB_HOST \ + CONFIG_ETRAX_USB_HOST_PORT1=y CONFIG_ETRAX_USB_HOST_PORT2=y + FILES:=$(LINUX_DIR)/drivers/usb/host/hc-crisv10.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,50,hc-crisv10) +endef + +define KernelPackage/usb-etrax/description + Kernel support for the ETRAX USB host controller +endef + +$(eval $(call KernelPackage,usb-etrax)) + define KernelPackage/usb2 $(call usbdep,) -- cgit v1.2.3