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
/crc7
27 SUBMENU
:=$(OTHER_MENU
)
30 FILES
:=$(LINUX_DIR
)/lib
/crc7.
$(LINUX_KMOD_SUFFIX
)
31 AUTOLOAD
:=$(call AutoLoad
,20,crc7
)
34 define KernelPackage
/crc7
/description
35 Kernel module for CRC7 support
38 $(eval
$(call KernelPackage
,crc7
))
41 define KernelPackage
/eeprom-93cx6
42 SUBMENU
:=$(OTHER_MENU
)
43 TITLE
:=EEPROM
93CX6 support
45 KCONFIG
:=CONFIG_EEPROM_93CX6
46 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom_93cx6.
$(LINUX_KMOD_SUFFIX
)
47 AUTOLOAD
:=$(call AutoLoad
,20,eeprom_93cx6
)
50 define KernelPackage
/eeprom-93cx6
/description
51 Kernel module for EEPROM
93CX6 support
54 $(eval
$(call KernelPackage
,eeprom-93cx6
))
57 define KernelPackage
/lp
58 SUBMENU
:=$(OTHER_MENU
)
59 TITLE
:=Parallel port and line printer support
66 $(LINUX_DIR
)/drivers
/parport
/parport.
$(LINUX_KMOD_SUFFIX
) \
67 $(LINUX_DIR
)/drivers
/char
/lp.
$(LINUX_KMOD_SUFFIX
) \
68 $(LINUX_DIR
)/drivers
/char
/ppdev.
$(LINUX_KMOD_SUFFIX
)
69 AUTOLOAD
:=$(call AutoLoad
,50,parport lp
)
72 $(eval
$(call KernelPackage
,lp
))
75 define KernelPackage
/pcmcia-core
76 SUBMENU
:=$(OTHER_MENU
)
77 TITLE
:=PCMCIA
/CardBus support
78 DEPENDS
:=@PCMCIA_SUPPORT
84 CONFIG_PCCARD_NONSTATIC \
88 define KernelPackage
/pcmcia-core
/2.4
93 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
94 $(LINUX_DIR
)/drivers
/pcmcia
/ds.
$(LINUX_KMOD_SUFFIX
) \
95 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
96 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core yenta_socket ds
)
99 define KernelPackage
/pcmcia-core
/2.6
104 # CONFIG_PCCARD_NONSTATIC \
107 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
108 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
109 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
110 $(LINUX_DIR
)/drivers
/pcmcia
/yenta_socket.
$(LINUX_KMOD_SUFFIX
)
111 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic yenta_socket
)
114 define KernelPackage
/pcmcia-core
/au1000-2.6
116 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia_core.
$(LINUX_KMOD_SUFFIX
) \
117 $(LINUX_DIR
)/drivers
/pcmcia
/pcmcia.
$(LINUX_KMOD_SUFFIX
) \
118 $(LINUX_DIR
)/drivers
/pcmcia
/rsrc_nonstatic.
$(LINUX_KMOD_SUFFIX
) \
119 $(LINUX_DIR
)/drivers
/pcmcia
/au1x00_ss.
$(LINUX_KMOD_SUFFIX
)
120 AUTOLOAD
:=$(call AutoLoad
,40,pcmcia_core pcmcia rsrc_nonstatic au1x00_ss
)
123 define KernelPackage
/pcmcia-core
/description
124 Kernel support for PCMCIA
/CardBus controllers
127 $(eval
$(call KernelPackage
,pcmcia-core
))
130 define KernelPackage
/pcmcia-serial
131 SUBMENU
:=$(OTHER_MENU
)
132 TITLE
:=Serial devices support
133 DEPENDS
:=kmod-pcmcia-core
135 CONFIG_PCMCIA_SERIAL_CS \
136 CONFIG_SERIAL_8250_CS
137 AUTOLOAD
:=$(call AutoLoad
,45,serial_cs
)
140 define KernelPackage
/pcmcia-serial
/2.4
141 # KCONFIG:=CONFIG_PCMCIA_SERIAL_CS
142 FILES
:=$(LINUX_DIR
)/drivers
/char
/pcmcia
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
145 define KernelPackage
/pcmcia-serial
/2.6
146 # KCONFIG:=CONFIG_SERIAL_8250_CS
147 FILES
:=$(LINUX_DIR
)/drivers
/serial
/serial_cs.
$(LINUX_KMOD_SUFFIX
)
150 define KernelPackage
/pcmcia-serial
/description
151 Kernel support for PCMCIA
/CardBus serial devices
154 $(eval
$(call KernelPackage
,pcmcia-serial
))
157 # XXX: remove @!TARGET_* later when we have USB support properly detected on all targets
158 define KernelPackage
/bluetooth
159 SUBMENU
:=$(OTHER_MENU
)
160 TITLE
:=Bluetooth support
161 DEPENDS
:=@USB_SUPPORT @
!TARGET_atheros @
!TARGET_uml
166 CONFIG_BLUEZ_RFCOMM \
168 CONFIG_BLUEZ_HCIUART \
169 CONFIG_BLUEZ_HCIUSB \
179 define KernelPackage
/bluetooth
/2.4
182 # CONFIG_BLUEZ_L2CAP \
184 # CONFIG_BLUEZ_RFCOMM \
185 # CONFIG_BLUEZ_BNEP \
186 # CONFIG_BLUEZ_HCIUART \
187 # CONFIG_BLUEZ_HCIUSB
189 $(LINUX_DIR
)/net
/bluetooth
/bluez.
$(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,bluez l2cap sco rfcomm bnep hci_uart hci_usb
)
199 define KernelPackage
/bluetooth
/2.6
209 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.
$(LINUX_KMOD_SUFFIX
) \
210 $(LINUX_DIR
)/net
/bluetooth
/l2cap.
$(LINUX_KMOD_SUFFIX
) \
211 $(LINUX_DIR
)/net
/bluetooth
/sco.
$(LINUX_KMOD_SUFFIX
) \
212 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.
$(LINUX_KMOD_SUFFIX
) \
213 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.
$(LINUX_KMOD_SUFFIX
) \
214 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.
$(LINUX_KMOD_SUFFIX
) \
215 $(LINUX_DIR
)/drivers
/bluetooth
/hci_usb.
$(LINUX_KMOD_SUFFIX
)
216 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth l2cap sco rfcomm bnep hci_uart hci_usb
)
219 define KernelPackage
/bluetooth
/description
220 Kernel support for Bluetooth devices
223 $(eval
$(call KernelPackage
,bluetooth
))
226 define KernelPackage
/mmc
227 SUBMENU
:=$(OTHER_MENU
)
228 TITLE
:=MMC
/SD Card Support
234 CONFIG_MMC_UNSAFE_RESUME
=n \
235 CONFIG_MMC_BLOCK_BOUNCE
=y \
237 CONFIG_MMC_TIFM_SD
=n \
240 $(LINUX_DIR
)/drivers
/mmc
/core
/mmc_core.
$(LINUX_KMOD_SUFFIX
) \
241 $(LINUX_DIR
)/drivers
/mmc
/card
/mmc_block.
$(LINUX_KMOD_SUFFIX
)
242 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block
)
245 define KernelPackage
/mmc
/description
246 Kernel support for MMC
/SD cards
249 $(eval
$(call KernelPackage
,mmc
))
252 define KernelPackage
/mmc-at91
253 SUBMENU
:=$(OTHER_MENU
)
254 TITLE
:=MMC
/SD Card Support on AT91
255 DEPENDS
:=@TARGET_at91
+kmod-mmc
256 KCONFIG
:=CONFIG_MMC_AT91
257 FILES
:=$(LINUX_DIR
)/drivers
/mmc
/at91_mci.
$(LINUX_KMOD_SUFFIX
)
258 AUTOLOAD
:=$(call AutoLoad
,90,at91_mci
)
261 define KernelPackage
/mmc-at91
/description
262 Kernel support for MMC
/SD cards on the AT91 target
265 $(eval
$(call KernelPackage
,mmc-at91
))
268 # XXX: added a workaround for watchdog path changes
272 ifeq ($(KERNEL_PATCHVER
),2.6.24)
273 WATCHDOG_DIR
=watchdog
275 WATCHDOG_DIR?
=char
/watchdog
277 define KernelPackage
/softdog
278 SUBMENU
:=$(OTHER_MENU
)
279 TITLE
:=Software watchdog driver
280 KCONFIG
:=CONFIG_SOFT_WATCHDOG
281 FILES
:=$(LINUX_DIR
)/drivers
/$(WATCHDOG_DIR
)/softdog.
$(LINUX_KMOD_SUFFIX
)
282 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
285 define KernelPackage
/softdog
/description
286 Software watchdog driver
289 $(eval
$(call KernelPackage
,softdog
))
292 # XXX: remove @TARGET_* later when we are able to detect the exact version of the kernel
293 define KernelPackage
/leds-gpio
294 SUBMENU
:=$(OTHER_MENU
)
295 TITLE
:=GPIO LED support
296 DEPENDS
:=@TARGET_adm5120
297 KCONFIG
:=CONFIG_LEDS_GPIO
298 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-gpio.
$(LINUX_KMOD_SUFFIX
)
299 AUTOLOAD
:=$(call AutoLoad
,60,leds-gpio
)
302 define KernelPackage
/leds-gpio
/description
303 Kernel module for LEDs on GPIO lines
306 $(eval
$(call KernelPackage
,leds-gpio
))
309 define KernelPackage
/leds-adm5120
310 SUBMENU
:=$(OTHER_MENU
)
311 TITLE
:=ADM5120 LED support
312 DEPENDS
:=@TARGET_adm5120
+kmod-leds-gpio
313 KCONFIG
:=CONFIG_LEDS_ADM5120
314 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-adm5120.
$(LINUX_KMOD_SUFFIX
)
315 AUTOLOAD
:=$(call AutoLoad
,59,leds-adm5120
)
318 define KernelPackage
/leds-adm5120
/description
319 Kernel module for LEDs on ADM5120 based boards.
322 $(eval
$(call KernelPackage
,leds-adm5120
))
325 define KernelPackage
/ledtrig-adm5120-switch
326 SUBMENU
:=$(OTHER_MENU
)
327 TITLE
:=LED ADM5120 Switch Port Status Trigger
328 DEPENDS
:=@TARGET_adm5120
329 KCONFIG
:=CONFIG_LEDS_TRIGGER_ADM5120_SWITCH
330 FILES
:=$(LINUX_DIR
)/drivers
/leds
/ledtrig-adm5120-switch.
$(LINUX_KMOD_SUFFIX
)
331 AUTOLOAD
:=$(call AutoLoad
,50,ledtrig-adm5120-switch
)
334 define KernelPackage
/ledtrig-adm5120-switch
/description
335 Kernel module to allow LEDs to be controlled by the port states
336 of the ADM5120 built-in ethernet switch.
339 $(eval
$(call KernelPackage
,ledtrig-adm5120-switch
))
342 define KernelPackage
/leds-net48xx
343 SUBMENU
:=$(OTHER_MENU
)
344 TITLE
:=Soekris Net48xx LED support
346 KCONFIG
:=CONFIG_LEDS_NET48XX
347 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-net48xx.
$(LINUX_KMOD_SUFFIX
)
348 AUTOLOAD
:=$(call AutoLoad
,50,leds-net48xx
)
351 define KernelPackage
/leds-net48xx
/description
352 Kernel module for Soekris Net48xx LEDs
355 $(eval
$(call KernelPackage
,leds-net48xx
))
358 define KernelPackage
/leds-wrap
359 SUBMENU
:=$(OTHER_MENU
)
360 TITLE
:=PCengines WRAP LED support
362 KCONFIG
:=CONFIG_LEDS_WRAP
363 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-wrap.
$(LINUX_KMOD_SUFFIX
)
364 AUTOLOAD
:=$(call AutoLoad
,50,leds-wrap
)
367 define KernelPackage
/leds-wrap
/description
368 Kernel module for PCengines WRAP LEDs
371 $(eval
$(call KernelPackage
,leds-wrap
))
374 define KernelPackage
/leds-alix
375 SUBMENU
:=$(OTHER_MENU
)
376 TITLE
:=PCengines ALIX LED support
378 KCONFIG
:=CONFIG_LEDS_ALIX
379 FILES
:=$(LINUX_DIR
)/drivers
/leds
/leds-alix.
$(LINUX_KMOD_SUFFIX
)
380 AUTOLOAD
:=$(call AutoLoad
,50,leds-alix
)
383 define KernelPackage
/leds-alix
/description
384 Kernel module for PCengines ALIX LEDs
387 $(eval
$(call KernelPackage
,leds-alix
))
390 define KernelPackage
/ledtrig-netdev
391 SUBMENU
:=$(OTHER_MENU
)
392 TITLE
:=LED NETDEV Trigger
393 KCONFIG
:=CONFIG_LEDS_TRIGGER_NETDEV
394 FILES
:=$(LINUX_DIR
)/drivers
/leds
/ledtrig-netdev.
$(LINUX_KMOD_SUFFIX
)
395 AUTOLOAD
:=$(call AutoLoad
,50,ledtrig-netdev
)
398 define KernelPackage
/ledtrig-netdev
/description
399 Kernel module to drive LEDs based on network activity.
402 $(eval
$(call KernelPackage
,ledtrig-netdev
))
405 define KernelPackage
/ledtrig-morse
406 SUBMENU
:=$(OTHER_MENU
)
407 TITLE
:=LED Morse Trigger
408 KCONFIG
:=CONFIG_LEDS_TRIGGER_MORSE
409 FILES
:=$(LINUX_DIR
)/drivers
/leds
/ledtrig-morse.
$(LINUX_KMOD_SUFFIX
)
410 AUTOLOAD
:=$(call AutoLoad
,50,ledtrig-morse
)
413 define KernelPackage
/ledtrig-morse
/description
414 Kernel module to show morse coded messages on LEDs.
417 $(eval
$(call KernelPackage
,ledtrig-morse
))
420 define KernelPackage
/nsc-gpio
421 SUBMENU
:=$(OTHER_MENU
)
422 TITLE
:=Natsemi GPIO support
424 KCONFIG
:=CONFIG_NSC_GPIO
425 FILES
:=$(LINUX_DIR
)/drivers
/char
/nsc_gpio.
$(LINUX_KMOD_SUFFIX
)
426 AUTOLOAD
:=$(call AutoLoad
,40,nsc_gpio
)
429 define KernelPackage
/nsc-gpio
/description
430 Kernel module for Natsemi GPIO
433 $(eval
$(call KernelPackage
,nsc-gpio
))
436 define KernelPackage
/scx200-gpio
437 SUBMENU
:=$(OTHER_MENU
)
438 TITLE
:=Natsemi SCX200 GPIO support
439 DEPENDS
:=@TARGET_x86 kmod-nsc-gpio
440 KCONFIG
:=CONFIG_SCx200_GPIO
441 FILES
:=$(LINUX_DIR
)/drivers
/char
/scx200_gpio.
$(LINUX_KMOD_SUFFIX
)
442 AUTOLOAD
:=$(call AutoLoad
,50,scx200_gpio
)
445 define KernelPackage
/scx200-gpio
/description
446 Kernel module for SCX200 GPIO
449 $(eval
$(call KernelPackage
,scx200-gpio
))
452 define KernelPackage
/scx200-wdt
453 SUBMENU
:=$(OTHER_MENU
)
454 TITLE
:=Natsemi SCX200 Watchdog support
456 KCONFIG
:=CONFIG_SC1200_WDT
457 FILES
:=$(LINUX_DIR
)/drivers
/char
/watchdog
/scx200_wdt.
$(LINUX_KMOD_SUFFIX
)
458 AUTOLOAD
:=$(call AutoLoad
,50,scx200_wdt
)
461 define KernelPackage
/scx200-wdt
/description
462 Kernel module for SCX200 Watchdog
465 $(eval
$(call KernelPackage
,scx200-wdt
))
468 define KernelPackage
/input-core
469 SUBMENU
:=$(OTHER_MENU
)
470 TITLE
:=Input device core
472 KCONFIG
:=CONFIG_INPUT
473 FILES
:=$(LINUX_DIR
)/drivers
/input
/input-core.
$(LINUX_KMOD_SUFFIX
)
474 AUTOLOAD
:=$(call AutoLoad
,50,input-core
)
477 define KernelPackage
/input-core
/description
478 Kernel modules for support of input device
481 $(eval
$(call KernelPackage
,input-core
))
484 define KernelPackage
/input-evdev
485 SUBMENU
:=$(OTHER_MENU
)
486 TITLE
:=Input even device
487 DEPENDS
:=+kmod-input-core
488 KCONFIG
:=CONFIG_INPUT_EVDEV
489 FILES
:=$(LINUX_DIR
)/drivers
/input
/evdev.
$(LINUX_KMOD_SUFFIX
)
490 AUTOLOAD
:=$(call AutoLoad
,60,evdev
)
493 define KernelPackage
/input-evdev
/description
494 Kernel modules for support of input device events
497 $(eval
$(call KernelPackage
,input-evdev
))
500 define KernelPackage
/mmc-spi
501 SUBMENU
:=$(OTHER_MENU
)
502 TITLE
:=MMC
/SD over SPI Support
504 KCONFIG
:=CONFIG_MMC_SPI
505 FILES
:=$(LINUX_DIR
)/drivers
/mmc
/host
/mmc_spi.
$(LINUX_KMOD_SUFFIX
)
506 AUTOLOAD
:=$(call AutoLoad
,90,mmc_spi
)
509 define KernelPackage
/mmc-spi
/description
510 Kernel support for MMC
/SD over SPI
513 $(eval
$(call KernelPackage
,mmc-spi
))
515 define KernelPackage
/spi
516 SUBMENU
:=$(OTHER_MENU
)
517 DEPENDS
:=@LINUX_2_6
+kmod-crc-itu-t
+kmod-crc7
518 TITLE
:=Serial Peripheral Interface
519 KCONFIG
:=CONFIG_SPI
=y \
520 CONFIG_MTD_DATAFLASH
=n \
521 CONFIG_MTD_M25P80
=n \
523 CONFIG_SPI_SPIDEV
=n \
527 define KernelPackage
/spi
/description
528 This package contains the Serial Peripheral Interface driver
531 $(eval
$(call KernelPackage
,spi
))
533 define KernelPackage
/spi-bitbang
534 SUBMENU
:=$(OTHER_MENU
)
536 TITLE
:=Serial Peripheral Interface bitbanging
537 KCONFIG
:=CONFIG_SPI_BITBANG
=y
540 define KernelPackage
/spi-bitbang
/description
541 This package contains the Serial Peripheral Interface bitbanging library
544 $(eval
$(call KernelPackage
,spi-bitbang
))