2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
11 define KernelPackage
/crypto
12 TITLE
:=CryptoAPI modules
19 CONFIG_CRYPTO_SHA256 \
20 CONFIG_CRYPTO_SHA512 \
22 CONFIG_CRYPTO_TGR192 \
24 CONFIG_CRYPTO_BLOWFISH \
25 CONFIG_CRYPTO_TWOFISH \
26 CONFIG_CRYPTO_SERPENT \
32 CONFIG_CRYPTO_KHAZAD \
33 CONFIG_CRYPTO_ANUBIS \
34 CONFIG_CRYPTO_DEFLATE \
35 CONFIG_CRYPTO_MICHAEL_MIC \
36 CONFIG_CRYPTO_CRC32C \
38 CONFIG_CRYPTO_BLKCIPHER
39 FILES
:=$(LINUX_DIR
)/crypto
/*.
$(LINUX_KMOD_SUFFIX
)
42 $(eval
$(call KernelPackage
,crypto
))
44 define KernelPackage
/ide-core
45 TITLE
:=Kernel support for IDE
47 Useful for usb mass storage devices
(e.g. on WL-HDD
)\\\
54 FILES
:=$(LINUX_DIR
)/drivers
/ide
/*.
$(LINUX_KMOD_SUFFIX
)
56 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,90,ide-generic ide-detect ide-disk
)
58 $(eval
$(call KernelPackage
,ide-core
))
60 define KernelPackage
/ide-pdc202xx
61 TITLE
:=PDC202xx IDE driver
64 KCONFIG
:=CONFIG_BLK_DEV_PDC202XX_OLD
65 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
66 AUTOLOAD
:=$(call AutoLoad
,30,pdc202xx_old
)
68 $(eval
$(call KernelPackage
,ide-pdc202xx
))
70 define KernelPackage
/ide-aec62xx
71 TITLE
:=AEC62xx IDE driver
73 KCONFIG
:=CONFIG_BLK_DEV_AEC62XX
74 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/aec62xx.
$(LINUX_KMOD_SUFFIX
)
75 AUTOLOAD
:=$(call AutoLoad
,30,aec62xx
)
77 $(eval
$(call KernelPackage
,ide-aec62xx
))
79 define KernelPackage
/scsi-core
80 TITLE
:=Kernel support for SCSI
82 KCONFIG
:=CONFIG_SCSI CONFIG_BLK_DEV_SD
84 $(LINUX_DIR
)/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
85 $(LINUX_DIR
)/drivers
/scsi
/sd_mod.
$(LINUX_KMOD_SUFFIX
)
87 $(eval
$(call KernelPackage
,scsi-core
))
89 define KernelPackage
/lp
90 TITLE
:=Parallel port and line printer support
92 KCONFIG
:=CONFIG_PARPORT
94 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
95 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
96 $(LINUX_DIR
)/drivers
/char
/ppdev.
$(LINUX_KMOD_SUFFIX
)
98 AUTOLOAD
:=$(call AutoLoad
,50, \
103 $(eval
$(call KernelPackage
,lp
))
106 define KernelPackage
/soundcore
108 DESCRIPTION
:=Kernel modules for sound support
109 KCONFIG
:=CONFIG_SOUND
113 define KernelPackage
/soundcore
/2.4
114 FILES
:=$(LINUX_DIR
)/drivers
/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
115 AUTOLOAD
:=$(call AutoLoad
,30,soundcore
)
118 define KernelPackage
/soundcore
/2.6
120 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
121 $(LINUX_DIR
)/sound
/core
/*.
$(LINUX_KMOD_SUFFIX
) \
122 $(if
$(CONFIG_SND_MIXER_OSS
)$(CONFIG_SND_PCM_OSS
),$(LINUX_DIR
)/sound
/core
/oss
/*.
$(LINUX_KMOD_SUFFIX
))
123 AUTOLOAD
:=$(call AutoLoad
,30,soundcore snd snd-page-alloc snd-hwdep snd-rawmidi snd-timer snd-pcm
$(if
$(CONFIG_SND_MIXER_OSS
),snd-mixer-oss
) $(if
$(CONFIG_SND_PCM_OSS
),snd-pcm-oss
))
126 define KernelPackage
/soundcore
/uml-2.6
128 $(LINUX_DIR
)/arch
/um
/drivers
/hostaudio.
$(LINUX_KMOD_SUFFIX
) \
129 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
130 AUTOLOAD
:=$(call AutoLoad
,30,soundcore hostaudio
)
133 $(eval
$(call KernelPackage
,soundcore
))
136 define KernelPackage
/loop
137 TITLE
:=Loopback device support
138 DESCRIPTION
:=Kernel module for loopback device support
139 KCONFIG
:=CONFIG_BLK_DEV_LOOP
141 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
142 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
144 $(eval
$(call KernelPackage
,loop
))
146 define KernelPackage
/nbd
147 TITLE
:=Network block device support
148 DESCRIPTION
:=Kernel module for network block device support
149 KCONFIG
:=CONFIG_BLK_DEV_NBD
151 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
152 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
154 $(eval
$(call KernelPackage
,nbd
))
156 define KernelPackage
/capi
158 DESCRIPTION
:=Kernel module for basic CAPI support
159 KCONFIG
:=CONFIG_ISDN CONFIG_ISDN_CAPI CONFIG_ISDN_CAPI_CAPI20
161 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi
)
162 FILES
:=$(LINUX_DIR
)/drivers
/isdn
/capi
/*capi.
$(LINUX_KMOD_SUFFIX
)
164 $(eval
$(call KernelPackage
,capi
))
166 define KernelPackage
/pcmcia-core
167 TITLE
:=PCMCIA
/CardBus support
168 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus controllers
170 KCONFIG
:=CONFIG_PCMCIA CONFIG_PCCARD
173 define KernelPackage
/pcmcia-core
/2.4
175 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
176 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
177 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
)
178 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
181 define KernelPackage
/pcmcia-core
/2.6
183 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
184 $(if
$(CONFIG_PCMCIA
),$(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
)) \
185 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
186 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
)
187 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
189 $(eval
$(call KernelPackage
,pcmcia-core
))
192 define KernelPackage
/pcmcia-serial
193 TITLE
:=Serial devices support
194 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus serial devices
195 DEPENDS
:=kmod-pcmcia-core
197 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
198 KCONFIG
:=CONFIG_PCMCIA_SERIAL_CS CONFIG_SERIAL_8250_CS
201 define KernelPackage
/pcmcia-serial
/2.4
202 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
205 define KernelPackage
/pcmcia-serial
/2.6
206 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
208 $(eval
$(call KernelPackage
,pcmcia-serial
))
211 define KernelPackage
/bluetooth
212 TITLE
:=Bluetooth support
213 DEPENDS
:=@USB_SUPPORT
214 DESCRIPTION
:=Kernel support for Bluetooth devices
216 KCONFIG
:=CONFIG_BLUEZ CONFIG_BT
219 define KernelPackage
/bluetooth
/2.4
221 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
222 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
223 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
224 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
225 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
226 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
227 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
228 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
231 define KernelPackage
/bluetooth
/2.6
233 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
234 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
235 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
236 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
237 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
238 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
239 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
240 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
242 $(eval
$(call KernelPackage
,bluetooth
))
244 define KernelPackage
/mmc
245 TITLE
:=MMC
/SD Card Support
246 DEPENDS
:=@LINUX_2_6_AT91
247 DESCRIPTION
:=Kernel support for MMC
/SD cards
251 $(LINUX_DIR
)/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
252 $(LINUX_DIR
)/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
253 $(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
254 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
256 $(eval
$(call KernelPackage
,mmc
))
258 define KernelPackage
/softdog
259 TITLE
:=Software watchdog driver
260 DESCRIPTION
:=Software watchdog driver
262 KCONFIG
:=CONFIG_SOFT_WATCHDOG
263 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.
$(LINUX_KMOD_SUFFIX
)
264 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
267 define KernelPackage
/softdog
/2.4
268 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.o
271 define KernelPackage
/softdog
/2.6
272 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/softdog.ko
274 $(eval
$(call KernelPackage
,softdog
))
277 define KernelPackage
/videodev
278 TITLE
=Video4Linux support
279 DESCRIPTION
:=Kernel modules for Video4Linux support
280 DEPENDS
:=@VIDEO_SUPPORT
282 KCONFIG
:=CONFIG_VIDEO_DEV
283 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/*.
$(LINUX_KMOD_SUFFIX
)
286 define KernelPackage
/videodev
/2.4
287 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
290 define KernelPackage
/videodev
/2.6
291 AUTOLOAD
:=$(call AutoLoad
,60,v4l2-common v4l1-compat compat_ioctl32 videodev
)
293 $(eval
$(call KernelPackage
,videodev
))
295 define KernelPackage
/leds-net48xx
296 TITLE
:=Soekris Net48xx LED support
297 DESCRIPTION
:=Kernel module for Soekris Net48xx LEDs
298 DEPENDS
:=@LINUX_2_6_X86
300 KCONFIG
:=CONFIG_LEDS_NET48XX
301 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
302 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
304 $(eval
$(call KernelPackage
,leds-net48xx
))
306 define KernelPackage
/nsc-gpio
307 TITLE
:=Natsemi GPIO support
308 DESCRIPTION
:=Kernel module for Natsemi GPIO
309 DEPENDS
:=@LINUX_2_6_X86
311 KCONFIG
:=CONFIG_NSC_GPIO
312 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
313 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
315 $(eval
$(call KernelPackage
,nsc-gpio
))
317 define KernelPackage
/scx200-gpio
318 TITLE
:=Natsemi SCX200 GPIO support
319 DESCRIPTION
:=Kernel module for SCX200 GPIO
320 DEPENDS
:=kmod-nsc-gpio @LINUX_2_6_X86
322 KCONFIG
:=CONFIG_SCx200_GPIO
323 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
324 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
326 $(eval
$(call KernelPackage
,scx200-gpio
))
328 define KernelPackage
/scx200-wdt
329 TITLE
:=Natsemi SCX200 Watchdog support
330 DESCRIPTION
:=Kernel module for SCX200 Watchdog
331 DEPENDS
:=@LINUX_2_6_X86
333 KCONFIG
:=CONFIG_SC1200_WDT
334 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
335 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wdt
)
337 $(eval
$(call KernelPackage
,scx200-wdt
))
339 define KernelPackage
/hwmon
340 TITLE
:=Hardware monitoring support
341 DESCRIPTION
:=Kernel modules for hardware monitoring
343 KCONFIG
:=CONFIG_HWMON_VID
345 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
) \
346 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
)
347 AUTOLOAD
:=$(call AutoLoad
,40,hwmon hwmon-vid
)
349 $(eval
$(call KernelPackage
,hwmon
))
351 define KernelPackage
/hwmon-pc87360
352 TITLE
:=PC87360 monitoring support
353 DESCRIPTION
:=Kernel modules for PC87360 chips
356 KCONFIG
:=CONFIG_SENSORS_PC87360
357 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
358 AUTOLOAD
:=$(call AutoLoad
,50,pc87360
)
360 $(eval
$(call KernelPackage
,hwmon-pc87360
))
362 define KernelPackage
/input-core
363 TITLE
:=Input device core
364 DESCRIPTION
:=Kernel modules for support of input device
366 KCONFIG
:=CONFIG_INPUT
367 FILES
:=$(LINUX_DIR
)/drivers
/input
/input-core.
$(LINUX_KMOD_SUFFIX
)
368 AUTOLOAD
:=$(call AutoLoad
,50,input-core
)
370 $(eval
$(call KernelPackage
,input-core
))
372 define KernelPackage
/input-evdev
373 TITLE
:=Input even device
374 DESCRIPTION
:=Kernel modules for support of input device events
375 DEPENDS
:=+kmod-input-core
377 KCONFIG
:=CONFIG_INPUT_EVDEV
378 FILES
:=$(LINUX_DIR
)/drivers
/input
/evdev.
$(LINUX_KMOD_SUFFIX
)
379 AUTOLOAD
:=$(call AutoLoad
,60,evdev
)
381 $(eval
$(call KernelPackage
,input-evdev
))