Changeset 26868


Ignore:
Timestamp:
2011-05-09T22:28:04+02:00 (7 years ago)
Author:
blogic
Message:

[kernel/modules]
package/kernel/modules/other.mk is getting big enough that putting the LEDs stuff into its own file makes sense.

Signed-off-by: Philip Prindeville <philipp@…>

Location:
trunk/package/kernel/modules
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/kernel/modules/other.mk

    r26635 r26868  
    368368 
    369369 
    370 define KernelPackage/leds-alix 
    371   SUBMENU:=$(OTHER_MENU) 
    372   TITLE:=PCengines ALIX LED support 
    373   DEPENDS:=@TARGET_x86 
    374   KCONFIG:=CONFIG_LEDS_ALIX2 
    375   FILES:=$(LINUX_DIR)/drivers/leds/leds-alix2.ko 
    376   AUTOLOAD:=$(call AutoLoad,50,leds-alix2) 
    377 endef 
    378  
    379 define KernelPackage/leds-alix/description 
    380  Kernel module for PCengines ALIX LEDs 
    381 endef 
    382  
    383 $(eval $(call KernelPackage,leds-alix)) 
    384  
    385  
    386 define KernelPackage/leds-gpio 
    387   SUBMENU:=$(OTHER_MENU) 
    388   TITLE:=GPIO LED support 
    389   DEPENDS:= @GPIO_SUPPORT 
    390   KCONFIG:=CONFIG_LEDS_GPIO 
    391   FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko 
    392   AUTOLOAD:=$(call AutoLoad,60,leds-gpio) 
    393 endef 
    394  
    395 define KernelPackage/leds-gpio/description 
    396  Kernel module for LEDs on GPIO lines 
    397 endef 
    398  
    399 $(eval $(call KernelPackage,leds-gpio)) 
    400  
    401  
    402 define KernelPackage/leds-net48xx 
    403   SUBMENU:=$(OTHER_MENU) 
    404   TITLE:=Soekris Net48xx LED support 
    405   DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 
    406   KCONFIG:=CONFIG_LEDS_NET48XX 
    407   FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko 
    408   AUTOLOAD:=$(call AutoLoad,50,leds-net48xx) 
    409 endef 
    410  
    411 define KernelPackage/leds-net48xx/description 
    412  Kernel module for Soekris Net48xx LEDs 
    413 endef 
    414  
    415 $(eval $(call KernelPackage,leds-net48xx)) 
    416  
    417 define KernelPackage/leds-net5501 
    418   SUBMENU:=$(OTHER_MENU) 
    419   TITLE:=Soekris Net5501 LED support 
    420   DEPENDS:=@TARGET_x86 +kmod-gpio-cs5535 +kmod-leds-gpio 
    421   KCONFIG:=CONFIG_LEDS_NET5501 
    422   FILES:=$(LINUX_DIR)/drivers/leds/leds-net5501.ko 
    423   AUTOLOAD:=$(call AutoLoad,50,leds-net5501) 
    424 endef 
    425  
    426 define KernelPackage/leds-net5501/description 
    427  Kernel module for Soekris Net5501 LEDs 
    428 endef 
    429  
    430 $(eval $(call KernelPackage,leds-net5501)) 
    431  
    432  
    433 define KernelPackage/leds-rb750 
    434   SUBMENU:=$(OTHER_MENU) 
    435   TITLE:=RouterBOARD 750 LED support 
    436   DEPENDS:=@TARGET_ar71xx 
    437   KCONFIG:=CONFIG_LEDS_RB750 
    438   FILES:=$(LINUX_DIR)/drivers/leds/leds-rb750.ko 
    439   AUTOLOAD:=$(call AutoLoad,60,leds-rb750) 
    440 endef 
    441  
    442 define KernelPackage/leds-rb750/description 
    443  Kernel module for the LEDs on the MikroTik RouterBOARD 750. 
    444 endef 
    445  
    446 $(eval $(call KernelPackage,leds-rb750)) 
    447  
    448  
    449 define KernelPackage/leds-wndr3700-usb 
    450   SUBMENU:=$(OTHER_MENU) 
    451   TITLE:=WNDR3700 USB LED support 
    452   DEPENDS:=@TARGET_ar71xx 
    453   KCONFIG:=CONFIG_LEDS_WNDR3700_USB 
    454   FILES:=$(LINUX_DIR)/drivers/leds/leds-wndr3700-usb.ko 
    455   AUTOLOAD:=$(call AutoLoad,60,leds-wndr3700-usb) 
    456 endef 
    457  
    458 define KernelPackage/leds-wndr3700-usb/description 
    459  Kernel module for the USB LED on the NETGWR WNDR3700 board. 
    460 endef 
    461  
    462 $(eval $(call KernelPackage,leds-wndr3700-usb)) 
    463  
    464  
    465 define KernelPackage/leds-wrap 
    466   SUBMENU:=$(OTHER_MENU) 
    467   TITLE:=PCengines WRAP LED support 
    468   DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 
    469   KCONFIG:=CONFIG_LEDS_WRAP 
    470   FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko 
    471   AUTOLOAD:=$(call AutoLoad,50,leds-wrap) 
    472 endef 
    473  
    474 define KernelPackage/leds-wrap/description 
    475  Kernel module for PCengines WRAP LEDs 
    476 endef 
    477  
    478 $(eval $(call KernelPackage,leds-wrap)) 
    479  
    480  
    481 define KernelPackage/ledtrig-heartbeat 
    482   SUBMENU:=$(OTHER_MENU) 
    483   TITLE:=LED Heartbeat Trigger 
    484   KCONFIG:=CONFIG_LEDS_TRIGGER_HEARTBEAT 
    485   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-heartbeat.ko 
    486   AUTOLOAD:=$(call AutoLoad,50,ledtrig-heartbeat) 
    487 endef 
    488  
    489 define KernelPackage/ledtrig-gpio/description 
    490  Kernel module that allows LEDs to blink like heart beat 
    491 endef 
    492  
    493 $(eval $(call KernelPackage,ledtrig-heartbeat)) 
    494  
    495  
    496 define KernelPackage/ledtrig-gpio 
    497   SUBMENU:=$(OTHER_MENU) 
    498   TITLE:=LED GPIO Trigger 
    499   KCONFIG:=CONFIG_LEDS_TRIGGER_GPIO 
    500   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-gpio.ko 
    501   AUTOLOAD:=$(call AutoLoad,50,ledtrig-gpio) 
    502 endef 
    503  
    504 define KernelPackage/ledtrig-gpio/description 
    505  Kernel module that allows LEDs to be controlled by gpio events. 
    506 endef 
    507  
    508 $(eval $(call KernelPackage,ledtrig-gpio)) 
    509  
    510  
    511 define KernelPackage/ledtrig-morse 
    512   SUBMENU:=$(OTHER_MENU) 
    513   TITLE:=LED Morse Trigger 
    514   KCONFIG:=CONFIG_LEDS_TRIGGER_MORSE 
    515   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-morse.ko 
    516   AUTOLOAD:=$(call AutoLoad,50,ledtrig-morse) 
    517 endef 
    518  
    519 define KernelPackage/ledtrig-morse/description 
    520  Kernel module to show morse coded messages on LEDs. 
    521 endef 
    522  
    523 $(eval $(call KernelPackage,ledtrig-morse)) 
    524  
    525  
    526 define KernelPackage/ledtrig-netdev 
    527   SUBMENU:=$(OTHER_MENU) 
    528   TITLE:=LED NETDEV Trigger 
    529   KCONFIG:=CONFIG_LEDS_TRIGGER_NETDEV 
    530   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-netdev.ko 
    531   AUTOLOAD:=$(call AutoLoad,50,ledtrig-netdev) 
    532 endef 
    533  
    534 define KernelPackage/ledtrig-netdev/description 
    535  Kernel module to drive LEDs based on network activity. 
    536 endef 
    537  
    538 $(eval $(call KernelPackage,ledtrig-netdev)) 
    539  
    540  
    541 define KernelPackage/ledtrig-netfilter 
    542   SUBMENU:=$(OTHER_MENU) 
    543   TITLE:=LED NetFilter Trigger 
    544   DEPENDS:=kmod-ipt-core 
    545   KCONFIG:=CONFIG_NETFILTER_XT_TARGET_LED 
    546   FILES:=$(LINUX_DIR)/net/netfilter/xt_LED.ko 
    547   AUTOLOAD:=$(call AutoLoad,50,xt_LED) 
    548 endef 
    549  
    550 define KernelPackage/ledtrig-netfilter/description 
    551  Kernel module to flash LED when a particular packets passing through your machine. 
    552  
    553  For example to create an LED trigger for incoming SSH traffic: 
    554     iptables -A INPUT -p tcp --dport 22 -j LED --led-trigger-id ssh --led-delay 1000 
    555  Then attach the new trigger to an LED on your system: 
    556     echo netfilter-ssh > /sys/class/leds/<ledname>/trigger 
    557 endef 
    558  
    559 $(eval $(call KernelPackage,ledtrig-netfilter)) 
    560  
    561 define KernelPackage/ledtrig-usbdev 
    562   SUBMENU:=$(OTHER_MENU) 
    563   TITLE:=LED USB device Trigger 
    564   DEPENDS:=@USB_SUPPORT +kmod-usb-core 
    565   KCONFIG:=CONFIG_LEDS_TRIGGER_USBDEV 
    566   FILES:=$(LINUX_DIR)/drivers/leds/ledtrig-usbdev.ko 
    567   AUTOLOAD:=$(call AutoLoad,50,ledtrig-usbdev) 
    568 endef 
    569  
    570 define KernelPackage/ledtrig-usbdev/description 
    571  Kernel module to drive LEDs based on USB device presence/activity. 
    572 endef 
    573  
    574 $(eval $(call KernelPackage,ledtrig-usbdev)) 
    575  
    576  
    577370define KernelPackage/lp 
    578371  SUBMENU:=$(OTHER_MENU) 
Note: See TracChangeset for help on using the changeset viewer.