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
14 $(CONFIG_CRYPTO_HMAC
) \
15 $(CONFIG_CRYPTO_NULL
) \
16 $(CONFIG_CRYPTO_MD4
) \
17 $(CONFIG_CRYPTO_MD5
) \
18 $(CONFIG_CRYPTO_SHA1
) \
19 $(CONFIG_CRYPTO_SHA256
) \
20 $(CONFIG_CRYPTO_SHA512
) \
21 $(CONFIG_CRYPTO_WP512
) \
22 $(CONFIG_CRYPTO_TGR192
) \
23 $(CONFIG_CRYPTO_DES
) \
24 $(CONFIG_CRYPTO_BLOWFISH
) \
25 $(CONFIG_CRYPTO_TWOFISH
) \
26 $(CONFIG_CRYPTO_SERPENT
) \
27 $(CONFIG_CRYPTO_AES
) \
28 $(CONFIG_CRYPTO_CAST5
) \
29 $(CONFIG_CRYPTO_CAST6
) \
30 $(CONFIG_CRYPTO_TEA
) \
31 $(CONFIG_CRYPTO_ARC4
) \
32 $(CONFIG_CRYPTO_KHAZAD
) \
33 $(CONFIG_CRYPTO_ANUBIS
) \
34 $(CONFIG_CRYPTO_DEFLATE
) \
35 $(CONFIG_CRYPTO_MICHAEL_MIC
) \
36 $(CONFIG_CRYPTO_CRC32C
)
37 FILES
:=$(LINUX_DIR
)/crypto
/*.
$(LINUX_KMOD_SUFFIX
)
40 $(eval
$(call KernelPackage
,crypto
))
42 define KernelPackage
/ide-core
43 TITLE
:=Kernel support for IDE
45 Useful for usb mass storage devices
(e.g. on WL-HDD
)\\\
51 KCONFIG
:=$(CONFIG_IDE
)
52 FILES
:=$(LINUX_DIR
)/drivers
/ide
/*.
$(LINUX_KMOD_SUFFIX
)
54 AUTOLOAD
:=$(call AutoLoad
,20,ide-core
) $(call AutoLoad
,90,ide-generic ide-detect ide-disk
)
56 $(eval
$(call KernelPackage
,ide-core
))
58 define KernelPackage
/ide-pdc202xx
59 TITLE
:=PDC202xx IDE driver
61 KCONFIG
:=$(CONFIG_BLK_DEV_PDC202XX_OLD
)
62 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/pdc202xx_old.
$(LINUX_KMOD_SUFFIX
)
63 AUTOLOAD
:=$(call AutoLoad
,30,pdc202xx_old
)
65 $(eval
$(call KernelPackage
,ide-pdc202xx
))
67 define KernelPackage
/ide-aec62xx
68 TITLE
:=AEC62xx IDE driver
70 KCONFIG
:=$(CONFIG_BLK_DEV_AEC62XX
)
71 FILES
:=$(LINUX_DIR
)/drivers
/ide
/pci
/aec62xx.
$(LINUX_KMOD_SUFFIX
)
72 AUTOLOAD
:=$(call AutoLoad
,30,aec62xx
)
74 $(eval
$(call KernelPackage
,ide-aec62xx
))
76 define KernelPackage
/scsi-core
77 TITLE
:=Kernel support for SCSI
79 KCONFIG
:=$(CONFIG_BLK_DEV_SD
)
81 $(LINUX_DIR
)/drivers
/scsi
/scsi_mod.
$(LINUX_KMOD_SUFFIX
) \
82 $(LINUX_DIR
)/drivers
/scsi
/sd_mod.
$(LINUX_KMOD_SUFFIX
)
84 $(eval
$(call KernelPackage
,scsi-core
))
86 define KernelPackage
/lp
87 TITLE
:=Parallel port and line printer support
88 KCONFIG
:=$(CONFIG_PARPORT
)
90 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
91 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
92 $(LINUX_DIR
)/drivers
/char
/ppdev.
$(LINUX_KMOD_SUFFIX
)
94 AUTOLOAD
:=$(call AutoLoad
,50, \
99 $(eval
$(call KernelPackage
,lp
))
102 define KernelPackage
/soundcore
104 DESCRIPTION
:=Kernel modules for sound support
105 KCONFIG
:=$(CONFIG_SOUND
)
109 define KernelPackage
/soundcore
/2.4
110 FILES
:=$(LINUX_DIR
)/drivers
/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
111 AUTOLOAD
:=$(call AutoLoad
,30,soundcore
)
114 define KernelPackage
/soundcore
/2.6
116 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
117 $(LINUX_DIR
)/sound
/core
/*.
$(LINUX_KMOD_SUFFIX
) \
118 $(LINUX_DIR
)/sound
/core
/oss
/*.
$(LINUX_KMOD_SUFFIX
)
119 AUTOLOAD
:=$(call AutoLoad
,30,soundcore snd snd-page-alloc snd-hwdep snd-rawmidi snd-timer snd-pcm snd-mixer-oss snd-pcm-oss
)
122 define KernelPackage
/soundcore
/uml-2.6
124 $(LINUX_DIR
)/arch
/um
/drivers
/hostaudio.
$(LINUX_KMOD_SUFFIX
) \
125 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
126 AUTOLOAD
:=$(call AutoLoad
,30,soundcore hostaudio
)
129 $(eval
$(call KernelPackage
,soundcore
))
132 define KernelPackage
/loop
133 TITLE
:=Loopback device support
134 DESCRIPTION
:=Kernel module for loopback device support
135 KCONFIG
:=$(CONFIG_BLK_DEV_LOOP
)
137 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
138 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
140 $(eval
$(call KernelPackage
,loop
))
142 define KernelPackage
/nbd
143 TITLE
:=Network block device support
144 DESCRIPTION
:=Kernel module for network block device support
145 KCONFIG
:=$(CONFIG_BLK_DEV_NBD
)
147 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
148 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
150 $(eval
$(call KernelPackage
,nbd
))
152 define KernelPackage
/capi
154 DESCRIPTION
:=Kernel module for basic CAPI support
155 KCONFIG
:=$(CONFIG_ISDN
) $(CONFIG_ISDN_CAPI
) $(CONFIG_ISDN_CAPI_CAPI20
)
157 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi
)
158 FILES
:=$(LINUX_DIR
)/drivers
/isdn
/capi
/*capi.
$(LINUX_KMOD_SUFFIX
)
160 $(eval
$(call KernelPackage
,capi
))
162 define KernelPackage
/pcmcia-core
163 TITLE
:=PCMCIA
/CardBus support
164 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus controllers
168 define KernelPackage
/pcmcia-core
/2.4
169 KCONFIG
:=$(CONFIG_PCMCIA
)
171 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
172 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
173 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
)
174 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
177 define KernelPackage
/pcmcia-core
/2.6
178 KCONFIG
:=$(CONFIG_PCCARD
)
180 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
181 $(if
$(CONFIG_PCMCIA
),$(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
)) \
182 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
183 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
)
184 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
186 $(eval
$(call KernelPackage
,pcmcia-core
))
189 define KernelPackage
/pcmcia-serial
190 TITLE
:=Serial devices support
191 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus serial devices
192 DEPENDS
:=kmod-pcmcia-core
194 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
197 define KernelPackage
/pcmcia-serial
/2.4
198 KCONFIG
:=$(CONFIG_PCMCIA_SERIAL_CS
)
199 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
202 define KernelPackage
/pcmcia-serial
/2.6
203 KCONFIG
:=$(CONFIG_SERIAL_8250_CS
)
204 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
206 $(eval
$(call KernelPackage
,pcmcia-serial
))
209 define KernelPackage
/bluetooth
210 TITLE
:=Bluetooth support
211 DEPENDS
:=@USB_SUPPORT
212 DESCRIPTION
:=Kernel support for Bluetooth devices
216 define KernelPackage
/bluetooth
/2.4
217 KCONFIG
:=$(CONFIG_BLUEZ
)
219 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
220 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
221 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
222 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
223 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
224 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
225 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
226 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
229 define KernelPackage
/bluetooth
/2.6
230 KCONFIG
:=$(CONFIG_BT
)
232 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
233 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
234 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
235 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
236 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
237 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
238 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
239 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
241 $(eval
$(call KernelPackage
,bluetooth
))
243 define KernelPackage
/mmc
244 TITLE
:=MMC
/SD Card Support
245 DEPENDS
:=@LINUX_2_6_AT91
246 DESCRIPTION
:=Kernel support for MMC
/SD cards
250 define KernelPackage
/mmc
/2.6
251 KCONFIG
:=$(CONFIG_MMC
)
253 $(LINUX_DIR
)/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
254 $(LINUX_DIR
)/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
255 $(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
256 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
258 $(eval
$(call KernelPackage
,mmc
))
260 define KernelPackage
/softdog
261 TITLE
:=Software watchdog driver
262 DESCRIPTION
:=Software watchdog driver
264 KCONFIG
:=$(CONFIG_SOFT_WATCHDOG
)
265 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.
$(LINUX_KMOD_SUFFIX
)
266 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
269 define KernelPackage
/softdog
/2.4
270 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.o
273 define KernelPackage
/softdog
/2.6
274 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/softdog.ko
277 $(eval
$(call KernelPackage
,softdog
))
280 define KernelPackage
/videodev
281 TITLE
=Video4Linux support
282 DESCRIPTION
:=Kernel modules for Video4Linux support
283 DEPENDS
:=@VIDEO_SUPPORT
285 KCONFIG
:=$(CONFIG_VIDEO_DEV
)
286 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/*.
$(LINUX_KMOD_SUFFIX
)
289 define KernelPackage
/videodev
/2.4
290 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
293 define KernelPackage
/videodev
/2.6
294 AUTOLOAD
:=$(call AutoLoad
,60,v4l2-common v4l1-compat videodev
)
296 $(eval
$(call KernelPackage
,videodev
))
298 define KernelPackage
/leds-net48xx
299 TITLE
:=Soekris Net48xx LED support
300 DESCRIPTION
:=Kernel module for Soekris Net48xx LEDs
301 DEFAULT
:=y if LINUX_2_6_X86_Soekris
302 DEPENDS
:=@LINUX_2_6_X86_Soekris
304 KCONFIG
:=$(CONFIG_LEDS_NET48XX
)
305 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
306 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
308 $(eval
$(call KernelPackage
,leds-net48xx
))
310 define KernelPackage
/nsc-gpio
311 TITLE
:=Natsemi GPIO support
312 DESCRIPTION
:=Kernel module for Natsemi GPIO
313 DEFAULT
:=y if LINUX_2_6_X86_Soekris
314 DEPENDS
:=@LINUX_2_6_X86_Soekris
316 KCONFIG
:=$(CONFIG_NSC_GPIO
)
317 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
318 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
320 $(eval
$(call KernelPackage
,nsc-gpio
))
322 define KernelPackage
/scx200-gpio
323 TITLE
:=Natsemi SCX200 GPIO support
324 DESCRIPTION
:=Kernel module for SCX200 GPIO
325 DEFAULT
:=y if LINUX_2_6_X86_Soekris
326 DEPENDS
:=kmod-nsc-gpio @LINUX_2_6_X86_Soekris
328 KCONFIG
:=$(CONFIG_SCx200_GPIO
)
329 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
330 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
332 $(eval
$(call KernelPackage
,scx200-gpio
))
334 define KernelPackage
/scx200-wdt
335 TITLE
:=Natsemi SCX200 Watchdog support
336 DESCRIPTION
:=Kernel module for SCX200 Watchdog
337 DEFAULT
:=y if LINUX_2_6_X86_Soekris
338 DEPENDS
:=@LINUX_2_6_X86_Soekris
340 KCONFIG
:=$(CONFIG_SC1200_WDT
)
341 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
342 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wdt
)
344 $(eval
$(call KernelPackage
,scx200-wdt
))
346 define KernelPackage
/hwmon
347 TITLE
:=Hardware monitoring support
348 DESCRIPTION
:=Kernel modules for hardware monitoring
349 DEFAULT
:=y if LINUX_2_6_X86_Soekris
351 KCONFIG
:=$(CONFIG_HWMON_VID
)
353 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
) \
354 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
)
355 AUTOLOAD
:=$(call AutoLoad
,40,hwmon hwmon-vid
)
357 $(eval
$(call KernelPackage
,hwmon
))
359 define KernelPackage
/hwmon-pc87360
360 TITLE
:=PC87360 monitoring support
361 DESCRIPTION
:=Kernel modules for PC87360 chips
362 DEFAULT
:=y if LINUX_2_6_X86_Soekris
365 KCONFIG
:=$(CONFIG_SENSORS_PC87360
)
366 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
367 AUTOLOAD
:=$(call AutoLoad
,50,pc87360
)
369 $(eval
$(call KernelPackage
,hwmon-pc87360
))
371 define KernelPackage
/input-core
372 TITLE
:=Input device core
373 DESCRIPTION
:=Kernel modules for support of input device
375 KCONFIG
:=$(CONFIG_INPUT
)
376 FILES
:=$(LINUX_DIR
)/drivers
/input
/input-core.
$(LINUX_KMOD_SUFFIX
)
377 AUTOLOAD
:=$(call AutoLoad
,50,input-core
)
379 $(eval
$(call KernelPackage
,input-core
))
381 define KernelPackage
/input-evdev
382 TITLE
:=Input even device
383 DESCRIPTION
:=Kernel modules for support of input device events
385 KCONFIG
:=$(CONFIG_INPUT_EVDEV
)
386 FILES
:=$(LINUX_DIR
)/drivers
/input
/evdev.
$(LINUX_KMOD_SUFFIX
)
387 AUTOLOAD
:=$(call AutoLoad
,60,evdev
)
389 $(eval
$(call KernelPackage
,input-evdev
))