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
/lp
45 TITLE
:=Parallel port and line printer support
47 KCONFIG
:=CONFIG_PARPORT
49 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
50 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
51 $(LINUX_DIR
)/drivers
/char
/ppdev.
$(LINUX_KMOD_SUFFIX
)
53 AUTOLOAD
:=$(call AutoLoad
,50, \
58 $(eval
$(call KernelPackage
,lp
))
61 define KernelPackage
/soundcore
63 DESCRIPTION
:=Kernel modules for sound support
68 define KernelPackage
/soundcore
/2.4
69 FILES
:=$(LINUX_DIR
)/drivers
/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
70 AUTOLOAD
:=$(call AutoLoad
,30,soundcore
)
73 define KernelPackage
/soundcore
/2.6
75 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
) \
76 $(LINUX_DIR
)/sound
/core
/*.
$(LINUX_KMOD_SUFFIX
) \
77 $(if
$(CONFIG_SND_MIXER_OSS
)$(CONFIG_SND_PCM_OSS
),$(LINUX_DIR
)/sound
/core
/oss
/*.
$(LINUX_KMOD_SUFFIX
))
78 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
))
81 define KernelPackage
/soundcore
/uml-2.6
83 $(LINUX_DIR
)/arch
/um
/drivers
/hostaudio.
$(LINUX_KMOD_SUFFIX
) \
84 $(LINUX_DIR
)/sound
/soundcore.
$(LINUX_KMOD_SUFFIX
)
85 AUTOLOAD
:=$(call AutoLoad
,30,soundcore hostaudio
)
88 $(eval
$(call KernelPackage
,soundcore
))
91 define KernelPackage
/loop
92 TITLE
:=Loopback device support
93 DESCRIPTION
:=Kernel module for loopback device support
94 KCONFIG
:=CONFIG_BLK_DEV_LOOP
96 AUTOLOAD
:=$(call AutoLoad
,30,loop
)
97 FILES
:=$(LINUX_DIR
)/drivers
/block
/loop.
$(LINUX_KMOD_SUFFIX
)
99 $(eval
$(call KernelPackage
,loop
))
101 define KernelPackage
/nbd
102 TITLE
:=Network block device support
103 DESCRIPTION
:=Kernel module for network block device support
104 KCONFIG
:=CONFIG_BLK_DEV_NBD
106 AUTOLOAD
:=$(call AutoLoad
,30,nbd
)
107 FILES
:=$(LINUX_DIR
)/drivers
/block
/nbd.
$(LINUX_KMOD_SUFFIX
)
109 $(eval
$(call KernelPackage
,nbd
))
111 define KernelPackage
/capi
113 DESCRIPTION
:=Kernel module for basic CAPI support
114 KCONFIG
:=CONFIG_ISDN CONFIG_ISDN_CAPI CONFIG_ISDN_CAPI_CAPI20
117 AUTOLOAD
:=$(call AutoLoad
,30,kernelcapi capi
)
118 FILES
:=$(LINUX_DIR
)/drivers
/isdn
/capi
/*capi.
$(LINUX_KMOD_SUFFIX
)
120 $(eval
$(call KernelPackage
,capi
))
122 define KernelPackage
/pcmcia-core
123 TITLE
:=PCMCIA
/CardBus support
124 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus controllers
126 KCONFIG
:=CONFIG_PCMCIA CONFIG_PCCARD
129 define KernelPackage
/pcmcia-core
/2.4
131 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
132 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
133 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
)
134 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
137 define KernelPackage
/pcmcia-core
/2.6
139 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
140 $(if
$(CONFIG_PCMCIA
),$(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
)) \
141 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
) \
142 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
)
143 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
145 $(eval
$(call KernelPackage
,pcmcia-core
))
148 define KernelPackage
/pcmcia-serial
149 TITLE
:=Serial devices support
150 DESCRIPTION
:=Kernel support for PCMCIA
/CardBus serial devices
151 DEPENDS
:=kmod-pcmcia-core
153 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
154 KCONFIG
:=CONFIG_PCMCIA_SERIAL_CS CONFIG_SERIAL_8250_CS
157 define KernelPackage
/pcmcia-serial
/2.4
158 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
161 define KernelPackage
/pcmcia-serial
/2.6
162 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
164 $(eval
$(call KernelPackage
,pcmcia-serial
))
167 define KernelPackage
/bluetooth
168 TITLE
:=Bluetooth support
169 DEPENDS
:=@USB_SUPPORT
170 DESCRIPTION
:=Kernel support for Bluetooth devices
172 KCONFIG
:=CONFIG_BLUEZ CONFIG_BT
175 define KernelPackage
/bluetooth
/2.4
177 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
178 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
179 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
180 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
181 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
182 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
183 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
184 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
187 define KernelPackage
/bluetooth
/2.6
189 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
190 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
191 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
192 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
193 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
194 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
195 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
196 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
198 $(eval
$(call KernelPackage
,bluetooth
))
200 define KernelPackage
/mmc
201 TITLE
:=MMC
/SD Card Support
202 DEPENDS
:=@LINUX_2_6_AT91
203 DESCRIPTION
:=Kernel support for MMC
/SD cards
207 $(LINUX_DIR
)/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
208 $(LINUX_DIR
)/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
209 $(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
210 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
212 $(eval
$(call KernelPackage
,mmc
))
214 define KernelPackage
/softdog
215 TITLE
:=Software watchdog driver
216 DESCRIPTION
:=Software watchdog driver
218 KCONFIG
:=CONFIG_SOFT_WATCHDOG
219 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.
$(LINUX_KMOD_SUFFIX
)
220 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
223 define KernelPackage
/softdog
/2.4
224 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.o
227 define KernelPackage
/softdog
/2.6
228 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/softdog.ko
230 $(eval
$(call KernelPackage
,softdog
))
233 define KernelPackage
/videodev
234 TITLE
=Video4Linux support
235 DESCRIPTION
:=Kernel modules for Video4Linux support
237 KCONFIG
:=CONFIG_VIDEO_DEV
238 FILES
:=$(LINUX_DIR
)/drivers
/media
/video
/*.
$(LINUX_KMOD_SUFFIX
)
241 define KernelPackage
/videodev
/2.4
242 AUTOLOAD
:=$(call AutoLoad
,60,videodev
)
245 define KernelPackage
/videodev
/2.6
246 AUTOLOAD
:=$(call AutoLoad
,60,v4l2-common v4l1-compat compat_ioctl32 videodev
)
248 $(eval
$(call KernelPackage
,videodev
))
250 define KernelPackage
/leds-net48xx
251 TITLE
:=Soekris Net48xx LED support
252 DESCRIPTION
:=Kernel module for Soekris Net48xx LEDs
253 DEPENDS
:=@LINUX_2_6_X86
255 KCONFIG
:=CONFIG_LEDS_NET48XX
256 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
257 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
259 $(eval
$(call KernelPackage
,leds-net48xx
))
261 define KernelPackage
/nsc-gpio
262 TITLE
:=Natsemi GPIO support
263 DESCRIPTION
:=Kernel module for Natsemi GPIO
264 DEPENDS
:=@LINUX_2_6_X86
266 KCONFIG
:=CONFIG_NSC_GPIO
267 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
268 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
270 $(eval
$(call KernelPackage
,nsc-gpio
))
272 define KernelPackage
/scx200-gpio
273 TITLE
:=Natsemi SCX200 GPIO support
274 DESCRIPTION
:=Kernel module for SCX200 GPIO
275 DEPENDS
:=kmod-nsc-gpio @LINUX_2_6_X86
277 KCONFIG
:=CONFIG_SCx200_GPIO
278 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
279 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
281 $(eval
$(call KernelPackage
,scx200-gpio
))
283 define KernelPackage
/scx200-wdt
284 TITLE
:=Natsemi SCX200 Watchdog support
285 DESCRIPTION
:=Kernel module for SCX200 Watchdog
286 DEPENDS
:=@LINUX_2_6_X86
288 KCONFIG
:=CONFIG_SC1200_WDT
289 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
290 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wdt
)
292 $(eval
$(call KernelPackage
,scx200-wdt
))
294 define KernelPackage
/hwmon
295 TITLE
:=Hardware monitoring support
296 DESCRIPTION
:=Kernel modules for hardware monitoring
299 KCONFIG
:=CONFIG_HWMON_VID
301 $(LINUX_DIR
)/drivers
/hwmon
/hwmon.
$(LINUX_KMOD_SUFFIX
) \
302 $(LINUX_DIR
)/drivers
/hwmon
/hwmon-vid.
$(LINUX_KMOD_SUFFIX
)
303 AUTOLOAD
:=$(call AutoLoad
,40,hwmon hwmon-vid
)
305 $(eval
$(call KernelPackage
,hwmon
))
307 define KernelPackage
/hwmon-pc87360
308 TITLE
:=PC87360 monitoring support
309 DESCRIPTION
:=Kernel modules for PC87360 chips
312 KCONFIG
:=CONFIG_SENSORS_PC87360
313 FILES
:=$(LINUX_DIR
)/drivers
/hwmon
/pc87360.
$(LINUX_KMOD_SUFFIX
)
314 AUTOLOAD
:=$(call AutoLoad
,50,pc87360
)
316 $(eval
$(call KernelPackage
,hwmon-pc87360
))
318 define KernelPackage
/input-core
319 TITLE
:=Input device core
320 DESCRIPTION
:=Kernel modules for support of input device
323 KCONFIG
:=CONFIG_INPUT
324 FILES
:=$(LINUX_DIR
)/drivers
/input
/input-core.
$(LINUX_KMOD_SUFFIX
)
325 AUTOLOAD
:=$(call AutoLoad
,50,input-core
)
327 $(eval
$(call KernelPackage
,input-core
))
329 define KernelPackage
/input-evdev
330 TITLE
:=Input even device
331 DESCRIPTION
:=Kernel modules for support of input device events
332 DEPENDS
:=+kmod-input-core
334 KCONFIG
:=CONFIG_INPUT_EVDEV
335 FILES
:=$(LINUX_DIR
)/drivers
/input
/evdev.
$(LINUX_KMOD_SUFFIX
)
336 AUTOLOAD
:=$(call AutoLoad
,60,evdev
)
338 $(eval
$(call KernelPackage
,input-evdev
))