Changeset 26548


Ignore:
Timestamp:
2011-04-09T17:59:03+02:00 (7 years ago)
Author:
hauke
Message:

kernel: add scsi cdrom support

This closes #9125.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/block.mk

    r25553 r26548  
    600600  SUBMENU:=$(BLOCK_MENU) 
    601601  TITLE:=Kernel support for SCSI generic 
     602  DEPENDS:=+!TARGET_x86:kmod-scsi-core 
    602603  KCONFIG:= \ 
    603604        CONFIG_CHR_DEV_SG 
     
    608609 
    609610$(eval $(call KernelPackage,scsi-generic)) 
     611 
     612 
     613define KernelPackage/scsi-cdrom 
     614  SUBMENU:=$(BLOCK_MENU) 
     615  TITLE:=Kernel support for CD / DVD drives 
     616  DEPENDS:=+!TARGET_x86:kmod-scsi-core 
     617  KCONFIG:= \ 
     618    CONFIG_BLK_DEV_SR \ 
     619    CONFIG_BLK_DEV_SR_VENDOR=n 
     620  FILES:= \ 
     621    $(LINUX_DIR)/drivers/cdrom/cdrom.ko \ 
     622    $(LINUX_DIR)/drivers/scsi/sr_mod.ko 
     623  AUTOLOAD:=$(call AutoLoad,30,cdrom) $(call AutoLoad,45,sr_mod) 
     624endef 
     625 
     626$(eval $(call KernelPackage,scsi-cdrom)) 
     627 
Note: See TracChangeset for help on using the changeset viewer.