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.
9 OTHER_MENU
:=Other modules
11 define KernelPackage
/crc-itu-t
12 SUBMENU
:=$(OTHER_MENU
)
13 TITLE
:=CRC ITU-T V
.41 support
14 KCONFIG
:=CONFIG_CRC_ITU_T
15 FILES
:=$(LINUX_DIR
)/lib
/crc-itu-t.
$(LINUX_KMOD_SUFFIX
)
16 AUTOLOAD
:=$(call AutoLoad
,20,crc-itu-t
)
19 define KernelPackage
/crc-itu-t
/description
20 Kernel module for CRC ITU-T V
.41 support
23 $(eval
$(call KernelPackage
,crc-itu-t
))
26 define KernelPackage
/eeprom-93cx6
27 SUBMENU
:=$(OTHER_MENU
)
28 TITLE
:=EEPROM
93CX6 support
30 KCONFIG
:=CONFIG_EEPROM_93CX6
31 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom_93cx6.
$(LINUX_KMOD_SUFFIX
)
32 AUTOLOAD
:=$(call AutoLoad
,20,eeprom_93cx6
)
35 define KernelPackage
/eeprom-93cx6
/description
36 Kernel module for EEPROM
93CX6 support
39 $(eval
$(call KernelPackage
,eeprom-93cx6
))
42 define KernelPackage
/lp
43 SUBMENU
:=$(OTHER_MENU
)
44 TITLE
:=Parallel port and line printer support
51 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
52 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
53 $(LINUX_DIR
)/drivers
/char
/ppdev.
$(LINUX_KMOD_SUFFIX
)
54 AUTOLOAD
:=$(call AutoLoad
,50,parport lp
)
57 $(eval
$(call KernelPackage
,lp
))
60 define KernelPackage
/pcmcia-core
61 SUBMENU
:=$(OTHER_MENU
)
62 TITLE
:=PCMCIA
/CardBus support
63 DEPENDS
:=@PCMCIA_SUPPORT
69 CONFIG_PCCARD_NONSTATIC \
73 define KernelPackage
/pcmcia-core
/2.4
78 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
79 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
) \
80 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
81 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
84 define KernelPackage
/pcmcia-core
/2.6
89 # CONFIG_PCCARD_NONSTATIC \
92 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
93 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
94 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
95 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
96 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
99 define KernelPackage
/pcmcia-core
/au1000-2.6
101 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
102 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
103 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
104 $(LINUX_DIR
)/drivers
/pcmcia
/au1x00_ss.
$(LINUX_KMOD_SUFFIX
)
105 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic au1x00_ss
)
108 define KernelPackage
/pcmcia-core
/description
109 Kernel support for PCMCIA
/CardBus controllers
112 $(eval
$(call KernelPackage
,pcmcia-core
))
115 define KernelPackage
/pcmcia-serial
116 SUBMENU
:=$(OTHER_MENU
)
117 TITLE
:=Serial devices support
118 DEPENDS
:=kmod-pcmcia-core
120 CONFIG_PCMCIA_SERIAL_CS \
121 CONFIG_SERIAL_8250_CS
122 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
125 define KernelPackage
/pcmcia-serial
/2.4
126 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
127 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
130 define KernelPackage
/pcmcia-serial
/2.6
131 # KCONFIG:=CONFIG_SERIAL_8250_CS
132 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
135 define KernelPackage
/pcmcia-serial
/description
136 Kernel support for PCMCIA
/CardBus serial devices
139 $(eval
$(call KernelPackage
,pcmcia-serial
))
142 # XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
143 define KernelPackage
/bluetooth
144 SUBMENU
:=$(OTHER_MENU
)
145 TITLE
:=Bluetooth support
146 DEPENDS
:=@USB_SUPPORT @
!TARGET_atheros @
!TARGET_uml
151 CONFIG_BLUEZ_RFCOMM \
153 CONFIG_BLUEZ_HCIUART \
154 CONFIG_BLUEZ_HCIUSB \
164 define KernelPackage
/bluetooth
/2.4
167 # CONFIG_BLUEZ_L2CAP \
169 # CONFIG_BLUEZ_RFCOMM \
170 # CONFIG_BLUEZ_BNEP \
171 # CONFIG_BLUEZ_HCIUART \
172 # CONFIG_BLUEZ_HCIUSB
174 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(LINUX_KMOD_SUFFIX
) \
175 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
176 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
177 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
178 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
179 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
180 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
181 AUTOLOAD
:=$(call AutoLoad
,90,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
184 define KernelPackage
/bluetooth
/2.6
194 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
195 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
196 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
197 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
198 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
199 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
200 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
201 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
204 define KernelPackage
/bluetooth
/description
205 Kernel support for Bluetooth devices
208 $(eval
$(call KernelPackage
,bluetooth
))
211 define KernelPackage
/mmc
212 SUBMENU
:=$(OTHER_MENU
)
213 TITLE
:=MMC
/SD Card Support
214 DEPENDS
:=@TARGET_at91
220 $(LINUX_DIR
)/drivers
/mmc
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
221 $(LINUX_DIR
)/drivers
/mmc
/mmc_block.
$(LINUX_KMOD_SUFFIX
) \
222 $(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
223 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block at91_mci
)
226 define KernelPackage
/mmc
/description
227 Kernel support for MMC
/SD cards
230 $(eval
$(call KernelPackage
,mmc
))
233 define KernelPackage
/softdog
234 SUBMENU
:=$(OTHER_MENU
)
235 TITLE
:=Software watchdog driver
236 KCONFIG
:=CONFIG_SOFT_WATCHDOG
237 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
240 define KernelPackage
/softdog
/2.4
241 FILES
:=$(LINUX_DIR
)/drivers
/char
/softdog.o
244 define KernelPackage
/softdog
/2.6
245 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/softdog.ko
248 define KernelPackage
/softdog
/description
249 Software watchdog driver
252 $(eval
$(call KernelPackage
,softdog
))
255 # XXX: remove @TARGET_* later when we are able to detect the exact version of the kernel
256 define KernelPackage
/leds-gpio
257 SUBMENU
:=$(OTHER_MENU
)
258 TITLE
:=GPIO LED support
259 DEPENDS
:=@TARGET_adm5120
260 KCONFIG
:=CONFIG_LEDS_GPIO
261 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-gpio.
$(LINUX_KMOD_SUFFIX
)
262 AUTOLOAD
:=$(call AutoLoad
,60,leds-gpio
)
265 define KernelPackage
/leds-gpio
/description
266 Kernel module for LEDs on GPIO lines
269 $(eval
$(call KernelPackage
,leds-gpio
))
272 define KernelPackage
/leds-adm5120
273 SUBMENU
:=$(OTHER_MENU
)
274 TITLE
:=ADM5120 LED support
275 DEPENDS
:=@TARGET_adm5120
+kmod-leds-gpio
276 KCONFIG
:=CONFIG_LEDS_ADM5120
277 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-adm5120.
$(LINUX_KMOD_SUFFIX
)
278 AUTOLOAD
:=$(call AutoLoad
,59,leds-adm5120
)
281 define KernelPackage
/leds-adm5120
/description
282 Kernel module for LEDs on ADM5120 based boards
285 $(eval
$(call KernelPackage
,leds-adm5120
))
288 define KernelPackage
/leds-net48xx
289 SUBMENU
:=$(OTHER_MENU
)
290 TITLE
:=Soekris Net48xx LED support
292 KCONFIG
:=CONFIG_LEDS_NET48XX
293 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
294 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
297 define KernelPackage
/leds-net48xx
/description
298 Kernel module for Soekris Net48xx LEDs
301 $(eval
$(call KernelPackage
,leds-net48xx
))
304 define KernelPackage
/leds-wrap
305 SUBMENU
:=$(OTHER_MENU
)
306 TITLE
:=PCengines WRAP LED support
308 KCONFIG
:=CONFIG_LEDS_WRAP
309 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-wrap.
$(LINUX_KMOD_SUFFIX
)
310 AUTOLOAD
:=$(call AutoLoad
,50,leds-wrap
)
313 define KernelPackage
/leds-wrap
/description
314 Kernel module for PCengines WRAP LEDs
317 $(eval
$(call KernelPackage
,leds-wrap
))
320 define KernelPackage
/nsc-gpio
321 SUBMENU
:=$(OTHER_MENU
)
322 TITLE
:=Natsemi GPIO support
324 KCONFIG
:=CONFIG_NSC_GPIO
325 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
326 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
329 define KernelPackage
/nsc-gpio
/description
330 Kernel module for Natsemi GPIO
333 $(eval
$(call KernelPackage
,nsc-gpio
))
336 define KernelPackage
/scx200-gpio
337 SUBMENU
:=$(OTHER_MENU
)
338 TITLE
:=Natsemi SCX200 GPIO support
339 DEPENDS
:=@TARGET_x86 kmod-nsc-gpio
340 KCONFIG
:=CONFIG_SCx200_GPIO
341 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
342 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
345 define KernelPackage
/scx200-gpio
/description
346 Kernel module for SCX200 GPIO
349 $(eval
$(call KernelPackage
,scx200-gpio
))
352 define KernelPackage
/scx200-wdt
353 SUBMENU
:=$(OTHER_MENU
)
354 TITLE
:=Natsemi SCX200 Watchdog support
356 KCONFIG
:=CONFIG_SC1200_WDT
357 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
358 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wdt
)
361 define KernelPackage
/scx200-wdt
/description
362 Kernel module for SCX200 Watchdog
365 $(eval
$(call KernelPackage
,scx200-wdt
))
368 define KernelPackage
/input-core
369 SUBMENU
:=$(OTHER_MENU
)
370 TITLE
:=Input device core
372 KCONFIG
:=CONFIG_INPUT
373 FILES
:=$(LINUX_DIR
)/drivers
/input
/input-core.
$(LINUX_KMOD_SUFFIX
)
374 AUTOLOAD
:=$(call AutoLoad
,50,input-core
)
377 define KernelPackage
/input-core
/description
378 Kernel modules for support of input device
381 $(eval
$(call KernelPackage
,input-core
))
384 define KernelPackage
/input-evdev
385 SUBMENU
:=$(OTHER_MENU
)
386 TITLE
:=Input even device
387 DEPENDS
:=+kmod-input-core
388 KCONFIG
:=CONFIG_INPUT_EVDEV
389 FILES
:=$(LINUX_DIR
)/drivers
/input
/evdev.
$(LINUX_KMOD_SUFFIX
)
390 AUTOLOAD
:=$(call AutoLoad
,60,evdev
)
393 define KernelPackage
/input-evdev
/description
394 Kernel modules for support of input device events
397 $(eval
$(call KernelPackage
,input-evdev
))