block.mk 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592
  1. #
  2. # Copyright (C) 2006-2012 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. BLOCK_MENU:=Block Devices
  8. define KernelPackage/aoe
  9. SUBMENU:=$(BLOCK_MENU)
  10. TITLE:=ATA over Ethernet support
  11. KCONFIG:=CONFIG_ATA_OVER_ETH
  12. FILES:=$(LINUX_DIR)/drivers/block/aoe/aoe.ko
  13. AUTOLOAD:=$(call AutoLoad,30,aoe)
  14. endef
  15. define KernelPackage/aoe/description
  16. Kernel support for ATA over Ethernet
  17. endef
  18. $(eval $(call KernelPackage,aoe))
  19. define KernelPackage/ata-core
  20. SUBMENU:=$(BLOCK_MENU)
  21. TITLE:=Serial and Parallel ATA support
  22. DEPENDS:=@PCI_SUPPORT +kmod-scsi-core
  23. KCONFIG:=CONFIG_ATA
  24. FILES:=$(LINUX_DIR)/drivers/ata/libata.ko
  25. AUTOLOAD:=$(call AutoLoad,21,libata,1)
  26. endef
  27. $(eval $(call KernelPackage,ata-core))
  28. define AddDepends/ata
  29. SUBMENU:=$(BLOCK_MENU)
  30. DEPENDS+=kmod-ata-core $(1)
  31. endef
  32. define KernelPackage/ata-ahci
  33. TITLE:=AHCI Serial ATA support
  34. KCONFIG:=CONFIG_SATA_AHCI
  35. FILES:= \
  36. $(LINUX_DIR)/drivers/ata/ahci.ko \
  37. $(LINUX_DIR)/drivers/ata/libahci.ko
  38. AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
  39. $(call AddDepends/ata)
  40. endef
  41. define KernelPackage/ata-ahci/description
  42. Support for AHCI Serial ATA controllers.
  43. endef
  44. $(eval $(call KernelPackage,ata-ahci))
  45. define KernelPackage/ata-artop
  46. TITLE:=ARTOP 6210/6260 PATA support
  47. KCONFIG:=CONFIG_PATA_ARTOP
  48. FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.ko
  49. AUTOLOAD:=$(call AutoLoad,41,pata_artop,1)
  50. $(call AddDepends/ata)
  51. endef
  52. define KernelPackage/ata-artop/description
  53. PATA support for ARTOP 6210/6260 host controllers.
  54. endef
  55. $(eval $(call KernelPackage,ata-artop))
  56. define KernelPackage/ata-marvell-sata
  57. TITLE:=Marvell Serial ATA support
  58. KCONFIG:=CONFIG_SATA_MV
  59. FILES:=$(LINUX_DIR)/drivers/ata/sata_mv.ko
  60. AUTOLOAD:=$(call AutoLoad,41,sata_mv,1)
  61. $(call AddDepends/ata)
  62. endef
  63. define KernelPackage/ata-marvell-sata/description
  64. SATA support for marvell chipsets
  65. endef
  66. $(eval $(call KernelPackage,ata-marvell-sata))
  67. define KernelPackage/ata-nvidia-sata
  68. TITLE:=Nvidia Serial ATA support
  69. KCONFIG:=CONFIG_SATA_NV
  70. FILES:=$(LINUX_DIR)/drivers/ata/sata_nv.ko
  71. AUTOLOAD:=$(call AutoLoad,41,sata_nv,1)
  72. $(call AddDepends/ata)
  73. endef
  74. $(eval $(call KernelPackage,ata-nvidia-sata))
  75. define KernelPackage/ata-pdc202xx-old
  76. SUBMENU:=$(BLOCK_MENU)
  77. TITLE:=Older Promise PATA controller support
  78. DEPENDS:=kmod-ata-core
  79. KCONFIG:= \
  80. CONFIG_ATA_SFF=y \
  81. CONFIG_PATA_PDC_OLD
  82. FILES:=$(LINUX_DIR)/drivers/ata/pata_pdc202xx_old.ko
  83. AUTOLOAD:=$(call AutoLoad,41,pata_pdc202xx_old,1)
  84. endef
  85. define KernelPackage/ata-pdc202xx-old/description
  86. This option enables support for the Promise 20246, 20262, 20263,
  87. 20265 and 20267 adapters.
  88. endef
  89. $(eval $(call KernelPackage,ata-pdc202xx-old))
  90. define KernelPackage/ata-piix
  91. TITLE:=Intel PIIX PATA/SATA support
  92. KCONFIG:=CONFIG_ATA_PIIX
  93. FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.ko
  94. AUTOLOAD:=$(call AutoLoad,41,ata_piix,1)
  95. $(call AddDepends/ata)
  96. endef
  97. define KernelPackage/ata-piix/description
  98. SATA support for Intel ICH5/6/7/8 series host controllers and
  99. PATA support for Intel ESB/ICH/PIIX3/PIIX4 series host controllers.
  100. endef
  101. $(eval $(call KernelPackage,ata-piix))
  102. define KernelPackage/ata-sil
  103. TITLE:=Silicon Image SATA support
  104. KCONFIG:=CONFIG_SATA_SIL
  105. FILES:=$(LINUX_DIR)/drivers/ata/sata_sil.ko
  106. AUTOLOAD:=$(call AutoLoad,41,sata_sil,1)
  107. $(call AddDepends/ata)
  108. endef
  109. define KernelPackage/ata-sil/description
  110. Support for Silicon Image Serial ATA controllers.
  111. endef
  112. $(eval $(call KernelPackage,ata-sil))
  113. define KernelPackage/ata-sil24
  114. TITLE:=Silicon Image 3124/3132 SATA support
  115. KCONFIG:=CONFIG_SATA_SIL24
  116. FILES:=$(LINUX_DIR)/drivers/ata/sata_sil24.ko
  117. AUTOLOAD:=$(call AutoLoad,41,sata_sil24,1)
  118. $(call AddDepends/ata)
  119. endef
  120. define KernelPackage/ata-sil24/description
  121. Support for Silicon Image 3124/3132 Serial ATA controllers.
  122. endef
  123. $(eval $(call KernelPackage,ata-sil24))
  124. define KernelPackage/ata-via-sata
  125. TITLE:=VIA SATA support
  126. KCONFIG:=CONFIG_SATA_VIA
  127. FILES:=$(LINUX_DIR)/drivers/ata/sata_via.ko
  128. AUTOLOAD:=$(call AutoLoad,41,sata_via,1)
  129. $(call AddDepends/ata)
  130. endef
  131. define KernelPackage/ata-via-sata/description
  132. This option enables support for VIA Serial ATA.
  133. endef
  134. $(eval $(call KernelPackage,ata-via-sata))
  135. define KernelPackage/block2mtd
  136. SUBMENU:=$(BLOCK_MENU)
  137. TITLE:=Block device MTD emulation
  138. KCONFIG:=CONFIG_MTD_BLOCK2MTD
  139. FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.ko
  140. endef
  141. $(eval $(call KernelPackage,block2mtd))
  142. define KernelPackage/dm
  143. SUBMENU:=$(BLOCK_MENU)
  144. TITLE:=Device Mapper
  145. # All the "=n" are unnecessary, they're only there
  146. # to stop the config from asking the question.
  147. # MIRROR is M because I've needed it for pvmove.
  148. KCONFIG:= \
  149. CONFIG_BLK_DEV_MD=n \
  150. CONFIG_DM_DEBUG=n \
  151. CONFIG_DM_UEVENT=n \
  152. CONFIG_DM_DELAY=n \
  153. CONFIG_DM_MULTIPATH=n \
  154. CONFIG_DM_ZERO=n \
  155. CONFIG_DM_SNAPSHOT=n \
  156. CONFIG_DM_LOG_USERSPACE=n \
  157. CONFIG_MD=y \
  158. CONFIG_BLK_DEV_DM \
  159. CONFIG_DM_CRYPT \
  160. CONFIG_DM_MIRROR
  161. FILES:=$(LINUX_DIR)/drivers/md/dm-*.ko
  162. AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
  163. endef
  164. define KernelPackage/dm/description
  165. Kernel module necessary for LVM2 support
  166. endef
  167. $(eval $(call KernelPackage,dm))
  168. define KernelPackage/md-mod
  169. SUBMENU:=$(BLOCK_MENU)
  170. TITLE:=MD RAID
  171. KCONFIG:= \
  172. CONFIG_MD=y \
  173. CONFIG_BLK_DEV_MD=m \
  174. CONFIG_MD_AUTODETECT=y \
  175. CONFIG_MD_FAULTY=n
  176. FILES:=$(LINUX_DIR)/drivers/md/md-mod.ko
  177. AUTOLOAD:=$(call AutoLoad,27,md-mod)
  178. endef
  179. define KernelPackage/md-mod/description
  180. Kernel RAID md module (md-mod.ko).
  181. You will need to select at least one RAID level module below.
  182. endef
  183. $(eval $(call KernelPackage,md-mod))
  184. define KernelPackage/md/Depends
  185. SUBMENU:=$(BLOCK_MENU)
  186. DEPENDS:=kmod-md-mod $(1)
  187. endef
  188. define KernelPackage/md-linear
  189. $(call KernelPackage/md/Depends,)
  190. TITLE:=RAID Linear Module
  191. KCONFIG:=CONFIG_MD_LINEAR
  192. FILES:=$(LINUX_DIR)/drivers/md/linear.ko
  193. AUTOLOAD:=$(call AutoLoad,28,linear)
  194. endef
  195. define KernelPackage/md-linear/description
  196. RAID "Linear" or "Append" driver module (linear.ko)
  197. endef
  198. $(eval $(call KernelPackage,md-linear))
  199. define KernelPackage/md-raid0
  200. $(call KernelPackage/md/Depends,)
  201. TITLE:=RAID0 Module
  202. KCONFIG:=CONFIG_MD_RAID0
  203. FILES:=$(LINUX_DIR)/drivers/md/raid0.ko
  204. AUTOLOAD:=$(call AutoLoad,28,raid0)
  205. endef
  206. define KernelPackage/md-raid0/description
  207. RAID Level 0 (Striping) driver module (raid0.ko)
  208. endef
  209. $(eval $(call KernelPackage,md-raid0))
  210. define KernelPackage/md-raid1
  211. $(call KernelPackage/md/Depends,)
  212. TITLE:=RAID1 Module
  213. KCONFIG:=CONFIG_MD_RAID1
  214. FILES:=$(LINUX_DIR)/drivers/md/raid1.ko
  215. AUTOLOAD:=$(call AutoLoad,28,raid1)
  216. endef
  217. define KernelPackage/md-raid1/description
  218. RAID Level 1 (Mirroring) driver (raid1.ko)
  219. endef
  220. $(eval $(call KernelPackage,md-raid1))
  221. define KernelPackage/md-raid10
  222. $(call KernelPackage/md/Depends,)
  223. TITLE:=RAID10 Module
  224. KCONFIG:=CONFIG_MD_RAID10
  225. FILES:=$(LINUX_DIR)/drivers/md/raid10.ko
  226. AUTOLOAD:=$(call AutoLoad,28,raid10)
  227. endef
  228. define KernelPackage/md-raid10/description
  229. RAID Level 10 (Mirroring+Striping) driver module (raid10.ko)
  230. endef
  231. $(eval $(call KernelPackage,md-raid10))
  232. define KernelPackage/md-raid456
  233. $(call KernelPackage/md/Depends,)
  234. TITLE:=RAID Level 456 Driver
  235. KCONFIG:= \
  236. CONFIG_XOR_BLOCKS \
  237. CONFIG_ASYNC_CORE \
  238. CONFIG_ASYNC_MEMCPY \
  239. CONFIG_ASYNC_XOR \
  240. CONFIG_ASYNC_PQ \
  241. CONFIG_ASYNC_RAID6_RECOV \
  242. CONFIG_ASYNC_RAID6_TEST=n \
  243. CONFIG_MD_RAID6_PQ \
  244. CONFIG_MD_RAID456 \
  245. CONFIG_MULTICORE_RAID456=n
  246. FILES:= \
  247. $(LINUX_DIR)/crypto/xor.ko \
  248. $(LINUX_DIR)/crypto/async_tx/async_tx.ko \
  249. $(LINUX_DIR)/crypto/async_tx/async_memcpy.ko \
  250. $(LINUX_DIR)/crypto/async_tx/async_xor.ko \
  251. $(LINUX_DIR)/crypto/async_tx/async_pq.ko \
  252. $(LINUX_DIR)/crypto/async_tx/async_raid6_recov.ko \
  253. $(LINUX_DIR)/drivers/md/raid456.ko \
  254. $(LINUX_DIR)/lib/raid6/raid6_pq.ko
  255. AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456)
  256. endef
  257. define KernelPackage/md-raid456/description
  258. RAID Level 4,5,6 kernel module (raid456.ko)
  259. Includes the following modules required by
  260. raid456.ko:
  261. xor.ko
  262. async_tx.ko
  263. async_xor.ko
  264. async_memcpy.ko
  265. async_pq.ko
  266. async_raid5_recov.ko
  267. raid6_pq.ko
  268. endef
  269. $(eval $(call KernelPackage,md-raid456))
  270. define KernelPackage/md-multipath
  271. $(call KernelPackage/md/Depends,)
  272. TITLE:=MD Multipath Module
  273. KCONFIG:=CONFIG_MD_MULTIPATH
  274. FILES:=$(LINUX_DIR)/drivers/md/multipath.ko
  275. AUTOLOAD:=$(call AutoLoad,29,multipath)
  276. endef
  277. define KernelPackage/md-multipath/description
  278. Multipath driver module (multipath.ko)
  279. endef
  280. $(eval $(call KernelPackage,md-multipath))
  281. define KernelPackage/ide-core
  282. SUBMENU:=$(BLOCK_MENU)
  283. TITLE:=IDE (ATA/ATAPI) device support
  284. DEPENDS:=@PCI_SUPPORT
  285. KCONFIG:= \
  286. CONFIG_IDE \
  287. CONFIG_BLK_DEV_IDE \
  288. CONFIG_BLK_DEV_IDEDISK \
  289. CONFIG_IDE_GD \
  290. CONFIG_IDE_GD_ATA=y \
  291. CONFIG_IDE_GD_ATAPI=n \
  292. CONFIG_IDEPCI_PCIBUS_ORDER=y \
  293. CONFIG_BLK_DEV_IDEDMA_PCI=y \
  294. CONFIG_BLK_DEV_IDEPCI=y
  295. FILES:= \
  296. $(LINUX_DIR)/drivers/ide/ide-core.ko \
  297. $(LINUX_DIR)/drivers/ide/ide-gd_mod.ko
  298. AUTOLOAD:= \
  299. $(call AutoLoad,20,ide-core,1) \
  300. $(call AutoLoad,40,ide-gd_mod,1)
  301. endef
  302. define KernelPackage/ide-core/description
  303. Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD)
  304. Includes:
  305. - ide-core
  306. - ide-gd_mod
  307. endef
  308. $(eval $(call KernelPackage,ide-core))
  309. define AddDepends/ide
  310. SUBMENU:=$(BLOCK_MENU)
  311. DEPENDS+=kmod-ide-core $(1)
  312. endef
  313. define KernelPackage/ide-generic
  314. SUBMENU:=$(BLOCK_MENU)
  315. DEPENDS:=@PCI_SUPPORT
  316. TITLE:=Kernel support for generic PCI IDE chipsets
  317. KCONFIG:=CONFIG_BLK_DEV_GENERIC
  318. FILES:=$(LINUX_DIR)/drivers/ide/ide-pci-generic.ko
  319. AUTOLOAD:=$(call AutoLoad,30,ide-pci-generic,1)
  320. $(call AddDepends/ide)
  321. endef
  322. $(eval $(call KernelPackage,ide-generic))
  323. define KernelPackage/ide-generic-old
  324. SUBMENU:=$(BLOCK_MENU)
  325. TITLE:=Kernel support for generic (legacy) IDE chipsets
  326. KCONFIG:=CONFIG_IDE_GENERIC
  327. FILES:=$(LINUX_DIR)/drivers/ide/ide-generic.ko
  328. AUTOLOAD:=$(call AutoLoad,30,ide-generic,1)
  329. $(call AddDepends/ide)
  330. endef
  331. $(eval $(call KernelPackage,ide-generic-old))
  332. define KernelPackage/ide-aec62xx
  333. TITLE:=Acard AEC62xx IDE driver
  334. DEPENDS:=@PCI_SUPPORT
  335. KCONFIG:=CONFIG_BLK_DEV_AEC62XX
  336. FILES:=$(LINUX_DIR)/drivers/ide/aec62xx.ko
  337. AUTOLOAD:=$(call AutoLoad,30,aec62xx,1)
  338. $(call AddDepends/ide)
  339. endef
  340. define KernelPackage/ide-aec62xx/description
  341. Support for Acard AEC62xx (Artop ATP8xx) IDE controllers.
  342. endef
  343. $(eval $(call KernelPackage,ide-aec62xx,1))
  344. define KernelPackage/ide-pdc202xx
  345. TITLE:=Promise PDC202xx IDE driver
  346. DEPENDS:=@PCI_SUPPORT
  347. KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
  348. FILES:=$(LINUX_DIR)/drivers/ide/pdc202xx_old.ko
  349. AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old,1)
  350. $(call AddDepends/ide)
  351. endef
  352. define KernelPackage/ide-pdc202xx/description
  353. Support for the Promise Ultra 33/66/100 (PDC202{46|62|65|67|68}) IDE
  354. controllers.
  355. endef
  356. $(eval $(call KernelPackage,ide-pdc202xx))
  357. define KernelPackage/ide-it821x
  358. TITLE:=ITE IT821x IDE driver
  359. DEPENDS:=@PCI_SUPPORT
  360. KCONFIG:=CONFIG_BLK_DEV_IT821X
  361. FILES=$(LINUX_DIR)/drivers/ide/it821x.ko
  362. AUTOLOAD:=$(call AutoLoad,30,it821x,1)
  363. $(call AddDepends/ide)
  364. endef
  365. define KernelPackage/ide-it821x/description
  366. Kernel module for the ITE IDE821x IDE controllers.
  367. endef
  368. $(eval $(call KernelPackage,ide-it821x))
  369. define KernelPackage/libsas
  370. SUBMENU:=$(BLOCK_MENU)
  371. DEPENDS:=@TARGET_x86
  372. TITLE:=SAS Domain Transport Attributes
  373. KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \
  374. CONFIG_SCSI_SAS_ATTRS \
  375. CONFIG_SCSI_SAS_ATA=y \
  376. CONFIG_SCSI_SAS_HOST_SMP=y \
  377. CONFIG_SCSI_SAS_LIBSAS_DEBUG=y
  378. FILES:= \
  379. $(LINUX_DIR)/drivers/scsi/scsi_transport_sas.ko \
  380. $(LINUX_DIR)/drivers/scsi/libsas/libsas.ko
  381. AUTOLOAD:=$(call AutoLoad,29,scsi_transport_sas libsas,1)
  382. endef
  383. define KernelPackage/libsas/description
  384. SAS Domain Transport Attributes support.
  385. endef
  386. $(eval $(call KernelPackage,libsas,1))
  387. define KernelPackage/loop
  388. SUBMENU:=$(BLOCK_MENU)
  389. TITLE:=Loopback device support
  390. KCONFIG:= \
  391. CONFIG_BLK_DEV_LOOP \
  392. CONFIG_BLK_DEV_CRYPTOLOOP=n
  393. FILES:=$(LINUX_DIR)/drivers/block/loop.ko
  394. AUTOLOAD:=$(call AutoLoad,30,loop)
  395. endef
  396. define KernelPackage/loop/description
  397. Kernel module for loopback device support
  398. endef
  399. $(eval $(call KernelPackage,loop))
  400. define KernelPackage/mvsas
  401. SUBMENU:=$(BLOCK_MENU)
  402. TITLE:=Marvell 88SE6440 SAS/SATA driver
  403. DEPENDS:=@TARGET_x86 +kmod-libsas
  404. KCONFIG:= \
  405. CONFIG_SCSI_MVSAS \
  406. CONFIG_SCSI_MVSAS_TASKLET=n
  407. FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko
  408. AUTOLOAD:=$(call AutoLoad,40,mvsas,1)
  409. endef
  410. define KernelPackage/mvsas/description
  411. Kernel support for the Marvell SAS SCSI adapters
  412. endef
  413. $(eval $(call KernelPackage,mvsas))
  414. define KernelPackage/nbd
  415. SUBMENU:=$(BLOCK_MENU)
  416. TITLE:=Network block device support
  417. KCONFIG:=CONFIG_BLK_DEV_NBD
  418. FILES:=$(LINUX_DIR)/drivers/block/nbd.ko
  419. AUTOLOAD:=$(call AutoLoad,30,nbd)
  420. endef
  421. define KernelPackage/nbd/description
  422. Kernel module for network block device support
  423. endef
  424. $(eval $(call KernelPackage,nbd))
  425. define KernelPackage/scsi-core
  426. SUBMENU:=$(BLOCK_MENU)
  427. TITLE:=SCSI device support
  428. KCONFIG:= \
  429. CONFIG_SCSI \
  430. CONFIG_BLK_DEV_SD
  431. FILES:= \
  432. $(if $(findstring y,$(CONFIG_SCSI)),,$(LINUX_DIR)/drivers/scsi/scsi_mod.ko) \
  433. $(LINUX_DIR)/drivers/scsi/sd_mod.ko
  434. AUTOLOAD:=$(call AutoLoad,20,scsi_mod,1) $(call AutoLoad,40,sd_mod,1)
  435. endef
  436. $(eval $(call KernelPackage,scsi-core))
  437. define KernelPackage/scsi-generic
  438. SUBMENU:=$(BLOCK_MENU)
  439. TITLE:=Kernel support for SCSI generic
  440. DEPENDS:=+kmod-scsi-core
  441. KCONFIG:= \
  442. CONFIG_CHR_DEV_SG
  443. FILES:= \
  444. $(LINUX_DIR)/drivers/scsi/sg.ko
  445. AUTOLOAD:=$(call AutoLoad,65,sg)
  446. endef
  447. $(eval $(call KernelPackage,scsi-generic))
  448. define KernelPackage/scsi-cdrom
  449. SUBMENU:=$(BLOCK_MENU)
  450. TITLE:=Kernel support for CD / DVD drives
  451. DEPENDS:=+kmod-scsi-core
  452. KCONFIG:= \
  453. CONFIG_BLK_DEV_SR \
  454. CONFIG_BLK_DEV_SR_VENDOR=n
  455. FILES:= \
  456. $(LINUX_DIR)/drivers/cdrom/cdrom.ko \
  457. $(LINUX_DIR)/drivers/scsi/sr_mod.ko
  458. AUTOLOAD:=$(call AutoLoad,30,cdrom) $(call AutoLoad,45,sr_mod)
  459. endef
  460. $(eval $(call KernelPackage,scsi-cdrom))