aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/modules/usb.mk
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2007-09-03 08:58:14 +0000
committerNicolas Thill <nico@openwrt.org>2007-09-03 08:58:14 +0000
commit8dc7ced4d4df85bc6cc77b625d54150a64f31bc6 (patch)
treee506b1895f22ee50f8e03e6806afc8384560e78a /package/kernel/modules/usb.mk
parente5e03321f9e942f75b8b150dc0bbdaba6b1c0c9b (diff)
downloadupstream-8dc7ced4d4df85bc6cc77b625d54150a64f31bc6.tar.gz
upstream-8dc7ced4d4df85bc6cc77b625d54150a64f31bc6.tar.bz2
upstream-8dc7ced4d4df85bc6cc77b625d54150a64f31bc6.zip
require all CONFIG_* symbols listed in its KCONFIG to be set to m in order to actually build a kmod package, tweak and fix kernel package definitions.
SVN-Revision: 8591
Diffstat (limited to 'package/kernel/modules/usb.mk')
-rw-r--r--package/kernel/modules/usb.mk35
1 files changed, 19 insertions, 16 deletions
diff --git a/package/kernel/modules/usb.mk b/package/kernel/modules/usb.mk
index f6991c248f..d089b44123 100644
--- a/package/kernel/modules/usb.mk
+++ b/package/kernel/modules/usb.mk
@@ -52,15 +52,16 @@ define KernelPackage/usb-uhci
$(call usbdep,)
TITLE:=Support for UHCI controllers
DESCRIPTION:=Kernel support for USB UHCI controllers
- KCONFIG:=CONFIG_USB_UHCI_ALT CONFIG_USB_UHCI_HCD
endef
define KernelPackage/usb-uhci/2.4
+ KCONFIG:=CONFIG_USB_UHCI_ALT
FILES:=$(LINUX_DIR)/drivers/usb/host/uhci.o
AUTOLOAD:=$(call AutoLoad,50,uhci)
endef
define KernelPackage/usb-uhci/2.6
+ KCONFIG:=CONFIG_USB_UHCI_HCD
FILES:=$(LINUX_DIR)/drivers/usb/host/uhci-hcd.ko
AUTOLOAD:=$(call AutoLoad,50,uhci-hcd)
endef
@@ -84,15 +85,16 @@ define KernelPackage/usb-ohci
$(call usbdep,)
TITLE:=Support for OHCI controllers
DESCRIPTION:=Kernel support for USB OHCI controllers
- KCONFIG:=CONFIG_USB_OHCI CONFIG_USB_OHCI_HCD
endef
define KernelPackage/usb-ohci/2.4
+ KCONFIG:=CONFIG_USB_OHCI
FILES:=$(LINUX_DIR)/drivers/usb/host/usb-ohci.o
AUTOLOAD:=$(call AutoLoad,50,usb-ohci)
endef
define KernelPackage/usb-ohci/2.6
+ KCONFIG:=CONFIG_USB_OHCI_HCD
FILES:=$(LINUX_DIR)/drivers/usb/host/ohci-hcd.ko
AUTOLOAD:=$(call AutoLoad,50,ohci-hcd)
endef
@@ -148,15 +150,16 @@ define KernelPackage/usb-audio
$(call usbdep,+kmod-soundcore)
TITLE:=Support for audio devices
DESCRIPTION:=Kernel support for USB audio devices
- KCONFIG:=CONFIG_USB_AUDIO CONFIG_SND_USB_AUDIO
endef
define KernelPackage/usb-audio/2.4
+ KCONFIG:=CONFIG_USB_AUDIO
FILES:=$(LINUX_DIR)/drivers/usb/audio.o
AUTOLOAD:=$(call AutoLoad,60,audio)
endef
define KernelPackage/usb-audio/2.6
+ KCONFIG:=CONFIG_SND_USB_AUDIO
FILES:= \
$(LINUX_DIR)/sound/usb/snd-usb-lib.ko \
$(LINUX_DIR)/sound/usb/snd-usb-audio.ko
@@ -287,19 +290,19 @@ define KernelPackage/usb-serial-keyspan
TITLE:=Support for Keyspan USB-to-Serial devices
DESCRIPTION:=Kernel support for Keyspan USB-to-Serial devices
KCONFIG:= \
- $(CONFIG_USB_SERIAL_KEYSPAN) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA28) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA28X) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA28XA) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA28XB) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA19) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA18X) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA19W) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA19QW) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA19QI) \
- $(CONFIG_USB_SERIAL_KEYSPAN_MPR) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA49W) \
- $(CONFIG_USB_SERIAL_KEYSPAN_USA49WLC)
+ CONFIG_USB_SERIAL_KEYSPAN \
+ CONFIG_USB_SERIAL_KEYSPAN_USA28 \
+ CONFIG_USB_SERIAL_KEYSPAN_USA28X \
+ CONFIG_USB_SERIAL_KEYSPAN_USA28XA \
+ CONFIG_USB_SERIAL_KEYSPAN_USA28XB \
+ CONFIG_USB_SERIAL_KEYSPAN_USA19 \
+ CONFIG_USB_SERIAL_KEYSPAN_USA18X \
+ CONFIG_USB_SERIAL_KEYSPAN_USA19W \
+ CONFIG_USB_SERIAL_KEYSPAN_USA19QW \
+ CONFIG_USB_SERIAL_KEYSPAN_USA19QI \
+ CONFIG_USB_SERIAL_KEYSPAN_MPR \
+ CONFIG_USB_SERIAL_KEYSPAN_USA49W \
+ CONFIG_USB_SERIAL_KEYSPAN_USA49WLC
FILES:=$(LINUX_DIR)/drivers/usb/serial/keyspan.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,65,keyspan)
endef