source: trunk/package/kernel/modules/block.mk @ 26548

Last change on this file since 26548 was 26548, checked in by hauke, 6 years ago

kernel: add scsi cdrom support

This closes #9125.

  • Property svn:eol-style set to native
File size: 15.1 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8BLOCK_MENU:=Block Devices
9
10define KernelPackage/aoe
11  SUBMENU:=$(BLOCK_MENU)
12  TITLE:=ATA over Ethernet support
13  KCONFIG:=CONFIG_ATA_OVER_ETH
14  FILES:=$(LINUX_DIR)/drivers/block/aoe/aoe.ko
15  AUTOLOAD:=$(call AutoLoad,30,aoe)
16endef
17
18define KernelPackage/aoe/description
19  Kernel support for ATA over Ethernet
20endef
21
22$(eval $(call KernelPackage,aoe))
23
24
25define KernelPackage/ata-core
26  SUBMENU:=$(BLOCK_MENU)
27  TITLE:=Serial and Parallel ATA support
28  DEPENDS:=@PCI_SUPPORT +kmod-scsi-core @(!TARGET_ubicom32||!TARGET_etrax||!TARGET_x86)
29  KCONFIG:=CONFIG_ATA
30  FILES:=$(LINUX_DIR)/drivers/ata/libata.ko
31  AUTOLOAD:=$(call AutoLoad,21,libata,1)
32endef
33
34$(eval $(call KernelPackage,ata-core))
35
36
37define AddDepends/ata
38  SUBMENU:=$(BLOCK_MENU)
39  DEPENDS+=!TARGET_x86:kmod-ata-core $(1)
40endef
41
42
43define KernelPackage/ata-ahci
44  TITLE:=AHCI Serial ATA support
45  KCONFIG:=CONFIG_SATA_AHCI
46  FILES:=$(LINUX_DIR)/drivers/ata/ahci.ko
47  ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.35)),1)
48    FILES += $(LINUX_DIR)/drivers/ata/libahci.ko
49    AUTOLOAD:=$(call AutoLoad,41,libahci ahci,1)
50  else
51    AUTOLOAD:=$(call AutoLoad,41,ahci,1)
52  endif
53  $(call AddDepends/ata)
54endef
55
56define KernelPackage/ata-ahci/description
57 Support for AHCI Serial ATA controllers.
58endef
59
60$(eval $(call KernelPackage,ata-ahci))
61
62
63define KernelPackage/ata-artop
64  TITLE:=ARTOP 6210/6260 PATA support
65  KCONFIG:=CONFIG_PATA_ARTOP
66  FILES:=$(LINUX_DIR)/drivers/ata/pata_artop.ko
67  AUTOLOAD:=$(call AutoLoad,41,pata_artop,1)
68  $(call AddDepends/ata)
69endef
70
71define KernelPackage/ata-artop/description
72 PATA support for ARTOP 6210/6260 host controllers.
73endef
74
75$(eval $(call KernelPackage,ata-artop))
76
77
78define KernelPackage/ata-nvidia-sata
79  TITLE:=Nvidia Serial ATA support
80  KCONFIG:=CONFIG_SATA_NV
81  FILES:=$(LINUX_DIR)/drivers/ata/sata_nv.ko
82  AUTOLOAD:=$(call AutoLoad,41,sata_nv,1)
83  $(call AddDepends/ata)
84endef
85
86$(eval $(call KernelPackage,ata-nvidia-sata))
87
88
89define KernelPackage/ata-pdc202xx-old
90  SUBMENU:=$(BLOCK_MENU)
91  TITLE:=Older Promise PATA controller support
92  DEPENDS:=kmod-ata-core
93  KCONFIG:= \
94       CONFIG_ATA_SFF=y \
95       CONFIG_PATA_PDC_OLD
96  FILES:=$(LINUX_DIR)/drivers/ata/pata_pdc202xx_old.ko
97  AUTOLOAD:=$(call AutoLoad,41,pata_pdc202xx_old,1)
98endef
99
100define KernelPackage/ata-pdc202xx-old/description
101 This option enables support for the Promise 20246, 20262, 20263,
102 20265 and 20267 adapters.
103endef
104
105$(eval $(call KernelPackage,ata-pdc202xx-old))
106
107
108define KernelPackage/ata-piix
109  TITLE:=Intel PIIX PATA/SATA support
110  KCONFIG:=CONFIG_ATA_PIIX
111  FILES:=$(LINUX_DIR)/drivers/ata/ata_piix.ko
112  AUTOLOAD:=$(call AutoLoad,41,ata_piix,1)
113  $(call AddDepends/ata)
114endef
115
116define KernelPackage/ata-piix/description
117 SATA support for Intel ICH5/6/7/8 series host controllers and
118 PATA support for Intel ESB/ICH/PIIX3/PIIX4 series host controllers.
119endef
120
121$(eval $(call KernelPackage,ata-piix))
122
123
124define KernelPackage/ata-sil
125  TITLE:=Silicon Image SATA support
126  KCONFIG:=CONFIG_SATA_SIL
127  FILES:=$(LINUX_DIR)/drivers/ata/sata_sil.ko
128  AUTOLOAD:=$(call AutoLoad,41,sata_sil,1)
129  $(call AddDepends/ata)
130endef
131
132define KernelPackage/ata-sil/description
133 Support for Silicon Image Serial ATA controllers.
134endef
135
136$(eval $(call KernelPackage,ata-sil))
137
138
139define KernelPackage/ata-sil24
140  TITLE:=Silicon Image 3124/3132 SATA support
141  KCONFIG:=CONFIG_SATA_SIL24
142  FILES:=$(LINUX_DIR)/drivers/ata/sata_sil24.ko
143  AUTOLOAD:=$(call AutoLoad,41,sata_sil24,1)
144  $(call AddDepends/ata)
145endef
146
147define KernelPackage/ata-sil24/description
148 Support for Silicon Image 3124/3132 Serial ATA controllers.
149endef
150
151$(eval $(call KernelPackage,ata-sil24))
152
153
154define KernelPackage/ata-via-sata
155  TITLE:=VIA SATA support
156  KCONFIG:=CONFIG_SATA_VIA
157  FILES:=$(LINUX_DIR)/drivers/ata/sata_via.ko
158  AUTOLOAD:=$(call AutoLoad,41,sata_via,1)
159  $(call AddDepends/ata)
160endef
161
162define KernelPackage/ata-via-sata/description
163 This option enables support for VIA Serial ATA.
164endef
165
166$(eval $(call KernelPackage,ata-via-sata))
167
168
169define KernelPackage/block2mtd
170  SUBMENU:=$(BLOCK_MENU)
171  TITLE:=Block device MTD emulation
172  KCONFIG:=CONFIG_MTD_BLOCK2MTD
173  FILES:=$(LINUX_DIR)/drivers/mtd/devices/block2mtd.ko
174endef
175
176$(eval $(call KernelPackage,block2mtd))
177
178
179define KernelPackage/dm
180  SUBMENU:=$(BLOCK_MENU)
181  TITLE:=Device Mapper
182  # All the "=n" are unnecessary, they're only there
183  # to stop the config from asking the question.
184  # MIRROR is M because I've needed it for pvmove.
185  KCONFIG:= \
186        CONFIG_BLK_DEV_MD=n \
187        CONFIG_DM_DEBUG=n \
188        CONFIG_DM_UEVENT=n \
189        CONFIG_DM_DELAY=n \
190        CONFIG_DM_MULTIPATH=n \
191        CONFIG_DM_ZERO=n \
192        CONFIG_DM_SNAPSHOT=n \
193        CONFIG_DM_LOG_USERSPACE=n \
194        CONFIG_MD=y \
195        CONFIG_BLK_DEV_DM \
196        CONFIG_DM_CRYPT \
197        CONFIG_DM_MIRROR
198  FILES:=$(LINUX_DIR)/drivers/md/dm-*.ko
199  AUTOLOAD:=$(call AutoLoad,30,dm-mod dm-log dm-region-hash dm-mirror dm-crypt)
200endef
201
202define KernelPackage/dm/description
203 Kernel module necessary for LVM2 support
204endef
205
206$(eval $(call KernelPackage,dm))
207
208
209define KernelPackage/md-mod
210  SUBMENU:=$(BLOCK_MENU)
211  TITLE:=MD RAID
212  KCONFIG:= \
213       CONFIG_MD=y \
214       CONFIG_BLK_DEV_MD=m \
215       CONFIG_MD_AUTODETECT=y \
216       CONFIG_MD_FAULTY=n
217  FILES:=$(LINUX_DIR)/drivers/md/md-mod.$(LINUX_KMOD_SUFFIX)
218  AUTOLOAD:=$(call AutoLoad,27,md-mod)
219endef
220
221define KernelPackage/md-mod/description
222 Kernel RAID md module (md-mod.ko).
223 You will need to select at least one RAID level module below.
224endef
225
226$(eval $(call KernelPackage,md-mod))
227
228
229define KernelPackage/md/Depends
230  SUBMENU:=$(BLOCK_MENU)
231  DEPENDS:=kmod-md-mod $(1)
232endef
233
234
235define KernelPackage/md-linear
236$(call KernelPackage/md/Depends,)
237  TITLE:=RAID Linear Module
238  KCONFIG:=CONFIG_MD_LINEAR=m
239  FILES:=$(LINUX_DIR)/drivers/md/linear.$(LINUX_KMOD_SUFFIX)
240  AUTOLOAD:=$(call AutoLoad,28,linear)
241endef
242
243define KernelPackage/md-linear/description
244 RAID "Linear" or "Append" driver module (linear.ko)
245endef
246
247$(eval $(call KernelPackage,md-linear))
248
249
250define KernelPackage/md-raid0
251$(call KernelPackage/md/Depends,)
252  TITLE:=RAID0 Module
253  KCONFIG:=CONFIG_MD_RAID0=m
254  FILES:=$(LINUX_DIR)/drivers/md/raid0.$(LINUX_KMOD_SUFFIX)
255  AUTOLOAD:=$(call AutoLoad,28,raid0)
256endef
257
258define KernelPackage/md-raid0/description
259 RAID Level 0 (Striping) driver module (raid0.ko)
260endef
261
262$(eval $(call KernelPackage,md-raid0))
263
264
265define KernelPackage/md-raid1
266$(call KernelPackage/md/Depends,)
267  TITLE:=RAID1 Module
268  KCONFIG:=CONFIG_MD_RAID1=m
269  FILES:=$(LINUX_DIR)/drivers/md/raid1.$(LINUX_KMOD_SUFFIX)
270  AUTOLOAD:=$(call AutoLoad,28,raid1)
271endef
272
273define KernelPackage/md-raid1/description
274 RAID Level 1 (Mirroring) driver (raid1.ko)
275endef
276
277$(eval $(call KernelPackage,md-raid1))
278
279
280define KernelPackage/md-raid10
281$(call KernelPackage/md/Depends,)
282  TITLE:=RAID10 Module
283  KCONFIG:=CONFIG_MD_RAID10=m
284  FILES:=$(LINUX_DIR)/drivers/md/raid10.$(LINUX_KMOD_SUFFIX)
285  AUTOLOAD:=$(call AutoLoad,28,raid10)
286endef
287
288define KernelPackage/md-raid10/description
289 RAID Level 10 (Mirroring+Striping) driver module (raid10.ko)
290endef
291
292$(eval $(call KernelPackage,md-raid10))
293
294
295define KernelPackage/md-raid456
296$(call KernelPackage/md/Depends,)
297  TITLE:=RAID Level 456 Driver
298  KCONFIG:= \
299       CONFIG_XOR_BLOCKS=m \
300       CONFIG_ASYNC_CORE=m \
301       CONFIG_ASYNC_MEMCPY=m \
302       CONFIG_ASYNC_XOR=m \
303       CONFIG_ASYNC_PQ=m \
304       CONFIG_ASYNC_RAID6_RECOV=m \
305       CONFIG_ASYNC_RAID6_TEST=n \
306       CONFIG_MD_RAID6_PQ=m \
307       CONFIG_MD_RAID456=m \
308       CONFIG_MULTICORE_RAID456=n
309  FILES:= \
310        $(LINUX_DIR)/crypto/xor.$(LINUX_KMOD_SUFFIX) \
311        $(LINUX_DIR)/crypto/async_tx/async_tx.$(LINUX_KMOD_SUFFIX) \
312        $(LINUX_DIR)/crypto/async_tx/async_memcpy.$(LINUX_KMOD_SUFFIX) \
313        $(LINUX_DIR)/crypto/async_tx/async_xor.$(LINUX_KMOD_SUFFIX) \
314        $(LINUX_DIR)/crypto/async_tx/async_pq.$(LINUX_KMOD_SUFFIX) \
315        $(LINUX_DIR)/crypto/async_tx/async_raid6_recov.$(LINUX_KMOD_SUFFIX) \
316        $(LINUX_DIR)/drivers/md/raid456.$(LINUX_KMOD_SUFFIX)
317  # Additional files with kernel-dependent locations or presence
318  # For Linux >= 2.6.36
319  ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.36)), 1)
320    FILES+= \
321        $(LINUX_DIR)/lib/raid6/raid6_pq.$(LINUX_KMOD_SUFFIX)
322  # For Linux < 2.6.36
323  else
324    FILES+= \
325        $(LINUX_DIR)/drivers/md/raid6_pq.$(LINUX_KMOD_SUFFIX)
326  endif
327  AUTOLOAD:=$(call AutoLoad,28, xor async_tx async_memcpy async_xor raid6_pq async_pq async_raid6_recov raid456)
328endef
329
330define KernelPackage/md-raid456/description
331 RAID Level 4,5,6 kernel module (raid456.ko)
332
333 Includes the following modules required by
334 raid456.ko:
335    xor.ko
336    async_tx.ko
337    async_xor.ko
338    async_memcpy.ko
339    async_pq.ko
340    async_raid5_recov.ko
341    raid6_pq.ko
342endef
343
344$(eval $(call KernelPackage,md-raid456))
345
346
347define KernelPackage/md-multipath
348$(call KernelPackage/md/Depends,)
349  TITLE:=MD Multipath Module
350  KCONFIG:=CONFIG_MD_MULTIPATH=m
351  FILES:=$(LINUX_DIR)/drivers/md/multipath.$(LINUX_KMOD_SUFFIX)
352  AUTOLOAD:=$(call AutoLoad,29,multipath)
353endef
354
355define KernelPackage/md-multipath/description
356 Multipath driver module (multipath.ko)
357endef
358
359$(eval $(call KernelPackage,md-multipath))
360
361
362define KernelPackage/ide-core
363  SUBMENU:=$(BLOCK_MENU)
364  TITLE:=IDE (ATA/ATAPI) device support
365  DEPENDS:=@PCI_SUPPORT
366  KCONFIG:= \
367        CONFIG_IDE \
368        CONFIG_BLK_DEV_IDE \
369        CONFIG_BLK_DEV_IDEDISK \
370        CONFIG_IDE_GD \
371        CONFIG_IDE_GD_ATA=y \
372        CONFIG_IDE_GD_ATAPI=n \
373        CONFIG_IDEPCI_PCIBUS_ORDER=y \
374        CONFIG_BLK_DEV_IDEDMA_PCI=y \
375        CONFIG_BLK_DEV_IDEPCI=y
376  FILES:= \
377        $(LINUX_DIR)/drivers/ide/ide-core.ko
378  AUTOLOAD:= \
379        $(call AutoLoad,20,ide-core,1)
380endef
381
382define KernelPackage/ide-core/2.4
383  FILES+= \
384        $(LINUX_DIR)/drivers/ide/ide-detect.ko \
385        $(LINUX_DIR)/drivers/ide/ide-disk.ko
386  AUTOLOAD+= \
387        $(call AutoLoad,35,ide-detect,1) \
388        $(call AutoLoad,40,ide-disk,1)
389endef
390
391define KernelPackage/ide-core/2.6
392  FILES+= \
393        $(LINUX_DIR)/drivers/ide/ide-gd_mod.ko
394  AUTOLOAD+= \
395        $(call AutoLoad,40,ide-gd_mod,1)
396endef
397
398define KernelPackage/ide-core/description
399 Kernel support for IDE, useful for usb mass storage devices (e.g. on WL-HDD)
400 Includes:
401 - ide-core
402 - ide-detect
403 - ide-gd_mod (or ide-disk)
404endef
405
406$(eval $(call KernelPackage,ide-core))
407
408
409define AddDepends/ide
410  SUBMENU:=$(BLOCK_MENU)
411  DEPENDS+=kmod-ide-core $(1)
412endef
413
414
415define KernelPackage/ide-generic
416  SUBMENU:=$(BLOCK_MENU)
417  DEPENDS:=@PCI_SUPPORT
418  TITLE:=Kernel support for generic PCI IDE chipsets
419  KCONFIG:=CONFIG_BLK_DEV_GENERIC
420  $(call AddDepends/ide)
421endef
422
423define KernelPackage/ide-generic/2.4
424  FILES+= \
425        $(LINUX_DIR)/drivers/ide/pci/generic.ko
426  AUTOLOAD+= \
427        $(call AutoLoad,30,generic,1)
428endef
429
430define KernelPackage/ide-generic/2.6
431  FILES+= \
432        $(LINUX_DIR)/drivers/ide/ide-pci-generic.ko
433  AUTOLOAD+= \
434        $(call AutoLoad,30,ide-pci-generic,1)
435endef
436
437$(eval $(call KernelPackage,ide-generic))
438
439
440define KernelPackage/ide-generic-old
441  SUBMENU:=$(BLOCK_MENU)
442  TITLE:=Kernel support for generic (legacy) IDE chipsets
443  KCONFIG:=CONFIG_IDE_GENERIC
444  FILES:=$(LINUX_DIR)/drivers/ide/ide-generic.ko
445  AUTOLOAD:=$(call AutoLoad,30,ide-generic,1)
446  $(call AddDepends/ide)
447endef
448
449$(eval $(call KernelPackage,ide-generic-old))
450
451
452define KernelPackage/ide-aec62xx
453  TITLE:=Acard AEC62xx IDE driver
454  DEPENDS:=@PCI_SUPPORT
455  KCONFIG:=CONFIG_BLK_DEV_AEC62XX
456  FILES:=$(LINUX_DIR)/drivers/ide/aec62xx.ko
457  AUTOLOAD:=$(call AutoLoad,30,aec62xx,1)
458  $(call AddDepends/ide)
459endef
460
461define KernelPackage/ide-aec62xx/2.4
462  FILES:=$(LINUX_DIR)/drivers/ide/pci/aec62xx.ko
463endef
464
465define KernelPackage/ide-aec62xx/description
466 Support for Acard AEC62xx (Artop ATP8xx) IDE controllers.
467endef
468
469$(eval $(call KernelPackage,ide-aec62xx,1))
470
471
472define KernelPackage/ide-pdc202xx
473  TITLE:=Promise PDC202xx IDE driver
474  DEPENDS:=@PCI_SUPPORT
475  KCONFIG:=CONFIG_BLK_DEV_PDC202XX_OLD
476  FILES:=$(LINUX_DIR)/drivers/ide/pdc202xx_old.ko
477  AUTOLOAD:=$(call AutoLoad,30,pdc202xx_old,1)
478  $(call AddDepends/ide)
479endef
480
481define KernelPackage/ide-pdc202xx/2.4
482  FILES:=$(LINUX_DIR)/drivers/ide/pci/pdc202xx_old.ko
483endef
484
485define KernelPackage/ide-pdc202xx/description
486 Support for the Promise Ultra 33/66/100 (PDC202{46|62|65|67|68}) IDE
487 controllers.
488endef
489
490$(eval $(call KernelPackage,ide-pdc202xx))
491
492
493define KernelPackage/ide-it821x
494  TITLE:=ITE IT821x IDE driver
495  DEPENDS:=@PCI_SUPPORT
496  KCONFIG:=CONFIG_BLK_DEV_IT821X
497  FILES=$(LINUX_DIR)/drivers/ide/it821x.ko
498  AUTOLOAD:=$(call AutoLoad,30,it821x,1)
499  $(call AddDepends/ide)
500endef
501
502define KernelPackage/ide-it821x/description
503  Kernel module for the ITE IDE821x IDE controllers.
504endef
505
506$(eval $(call KernelPackage,ide-it821x))
507
508
509define KernelPackage/libsas
510  SUBMENU:=$(BLOCK_MENU)
511  TITLE:=SAS Domain Transport Attributes
512  DEPENDS:=@TARGET_x86
513  KCONFIG:=CONFIG_SCSI_SAS_LIBSAS \
514        CONFIG_SCSI_SAS_ATTRS \
515        CONFIG_SCSI_SAS_ATA=y \
516        CONFIG_SCSI_SAS_HOST_SMP=y \
517        CONFIG_SCSI_SAS_LIBSAS_DEBUG=y
518  FILES:= \
519        $(LINUX_DIR)/drivers/scsi/scsi_transport_sas.ko \
520        $(LINUX_DIR)/drivers/scsi/libsas/libsas.ko
521  AUTOLOAD:=$(call AutoLoad,29,scsi_transport_sas libsas,1)
522endef
523
524define KernelPackage/libsas/description
525  SAS Domain Transport Attributes support.
526endef
527
528$(eval $(call KernelPackage,libsas,1))
529
530
531define KernelPackage/loop
532  SUBMENU:=$(BLOCK_MENU)
533  TITLE:=Loopback device support
534  KCONFIG:= \
535        CONFIG_BLK_DEV_LOOP \
536        CONFIG_BLK_DEV_CRYPTOLOOP=n
537  FILES:=$(LINUX_DIR)/drivers/block/loop.ko
538  AUTOLOAD:=$(call AutoLoad,30,loop)
539endef
540
541define KernelPackage/loop/description
542 Kernel module for loopback device support
543endef
544
545$(eval $(call KernelPackage,loop))
546
547
548define KernelPackage/mvsas
549  SUBMENU:=$(BLOCK_MENU)
550  TITLE:=Marvell 88SE6440 SAS/SATA driver
551  DEPENDS:=@TARGET_x86 +kmod-libsas
552  KCONFIG:=CONFIG_SCSI_MVSAS
553  ifneq ($(CONFIG_LINUX_2_6_30),)
554        FILES:=$(LINUX_DIR)/drivers/scsi/mvsas.ko
555  else
556        FILES:=$(LINUX_DIR)/drivers/scsi/mvsas/mvsas.ko
557  endif
558  AUTOLOAD:=$(call AutoLoad,40,mvsas,1)
559endef
560
561define KernelPackage/mvsas/description
562  Kernel support for the Marvell SAS SCSI adapters
563endef
564
565$(eval $(call KernelPackage,mvsas))
566
567
568define KernelPackage/nbd
569  SUBMENU:=$(BLOCK_MENU)
570  TITLE:=Network block device support
571  KCONFIG:=CONFIG_BLK_DEV_NBD
572  FILES:=$(LINUX_DIR)/drivers/block/nbd.ko
573  AUTOLOAD:=$(call AutoLoad,30,nbd)
574endef
575
576define KernelPackage/nbd/description
577 Kernel module for network block device support
578endef
579
580$(eval $(call KernelPackage,nbd))
581
582
583define KernelPackage/scsi-core
584  SUBMENU:=$(BLOCK_MENU)
585  TITLE:=SCSI device support
586  DEPENDS:=@!TARGET_x86
587  KCONFIG:= \
588        CONFIG_SCSI \
589        CONFIG_BLK_DEV_SD
590  FILES:= \
591        $(if $(findstring y,$(CONFIG_SCSI)),,$(LINUX_DIR)/drivers/scsi/scsi_mod.ko) \
592        $(LINUX_DIR)/drivers/scsi/sd_mod.ko
593  AUTOLOAD:=$(call AutoLoad,20,scsi_mod,1) $(call AutoLoad,40,sd_mod,1)
594endef
595
596$(eval $(call KernelPackage,scsi-core))
597
598
599define KernelPackage/scsi-generic
600  SUBMENU:=$(BLOCK_MENU)
601  TITLE:=Kernel support for SCSI generic
602  DEPENDS:=+!TARGET_x86:kmod-scsi-core
603  KCONFIG:= \
604        CONFIG_CHR_DEV_SG
605  FILES:= \
606        $(LINUX_DIR)/drivers/scsi/sg.ko
607  AUTOLOAD:=$(call AutoLoad,65,sg)
608endef
609
610$(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 TracBrowser for help on using the repository browser.