$(call usbdep,+kmod-soundcore)
TITLE:=Support for audio devices
DESCRIPTION:=Kernel support for USB audio devices
- KCONFIG:=$(CONFIG_USB_AUDIO)
AUTOLOAD:=$(call AutoLoad,60,audio)
endef
define KernelPackage/usb-audio/2.4
+ KCONFIG:=$(CONFIG_USB_AUDIO)
FILES:=$(MODULES_DIR)/kernel/drivers/usb/audio.o
endef
define KernelPackage/usb-audio/2.6
- FILES:=$(MODULES_DIR)/kernel/drivers/usb/class/audio.ko
+ KCONFIG:=$(CONFIG_SND_USB_AUDIO)
+ FILES:=$(MODULES_DIR)/kernel/sound/usb/snd-usb-audio.ko
endef
$(eval $(call KernelPackage,usb-audio))
DESCRIPTION:=Kernel support for USB Mass Storage devices
KCONFIG:=$(CONFIG_USB_STORAGE)
FILES:= \
- $(MODULES_DIR)/kernel/drivers/scsi/scsi_mod.$(LINUX_KMOD_SUFFIX) \
- $(MODULES_DIR)/kernel/drivers/scsi/sd_mod.$(LINUX_KMOD_SUFFIX) \
$(MODULES_DIR)/kernel/drivers/usb/storage/usb-storage.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,60,scsi_mod sd_mod usb-storage)
+ DEPENDS:=+kmod-scsi-core
endef
$(eval $(call KernelPackage,usb-storage))