X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9dcbd6314842f862186a4688f44adaa2e49b6746..ad3f1761248b47c1c931b3c02fd2346258d6ba82:/package/kernel/modules/usb.mk?ds=inline diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk index af4133977..bcc8a9637 100644 --- a/package/kernel/modules/usb.mk +++ b/package/kernel/modules/usb.mk @@ -13,9 +13,16 @@ define KernelPackage/usb-core DESCRIPTION:=Kernel support for USB DEPENDS:=@USB_SUPPORT KCONFIG:=$(CONFIG_USB) - FILES:=$(MODULES_DIR)/kernel/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX) SUBMENU:=$(USBMENU) - AUTOLOAD:=$(call AutoLoad,20,usb-core) + AUTOLOAD:=$(call AutoLoad,20,usbcore) +endef + +define KernelPackage/usb-core/2.4 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/usbcore.$(LINUX_KMOD_SUFFIX) +endef + +define KernelPackage/usb-core/2.6 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/core/usbcore.$(LINUX_KMOD_SUFFIX) endef $(eval $(call KernelPackage,usb-core)) @@ -236,4 +243,22 @@ define KernelPackage/usb-speedtouch AUTOLOAD:=$(call AutoLoad,70,usbatm speedtch) endef $(eval $(call KernelPackage,usb-speedtouch)) - + + +define KernelPackage/usb-pwc + $(call usbdep,+kmod-videodev) + TITLE:=Philips WebCam driver + DESCRIPTION:=Kernel modules for supporting Philips WebCam USB devices + KCONFIG:=$(CONFIG_USB_PWC) + AUTOLOAD:=$(call AutoLoad,70,pwc) +endef + +define KernelPackage/usb-pwc/2.4 + FILES:=$(MODULES_DIR)/kernel/drivers/usb/pwc.$(LINUX_KMOD_SUFFIX) +endef + +$(eval $(call KernelPackage,usb-pwc)) + + + +