Changeset 9262


Ignore:
Timestamp:
2007-10-11T13:05:16+02:00 (9 years ago)
Author:
juhosg
Message:

[packages] add a kernel module for GPIO LEDs

File:
1 edited

Legend:

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

    r9219 r9262  
    253253 
    254254 
     255# XXX: remove @TARGET_* later when we are able to detect the exact version of the kernel 
     256define 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) 
     263endef 
     264 
     265define KernelPackage/leds-gpio/description 
     266 Kernel module for LEDs on GPIO lines 
     267endef 
     268 
     269$(eval $(call KernelPackage,leds-gpio)) 
     270 
     271 
    255272define KernelPackage/leds-adm5120 
    256273  SUBMENU:=$(OTHER_MENU) 
    257274  TITLE:=ADM5120 LED support 
    258   DEPENDS:=@TARGET_adm5120 
     275  DEPENDS:=@TARGET_adm5120 +kmod-leds-gpio 
    259276  KCONFIG:=CONFIG_LEDS_ADM5120 
    260277  FILES:=$(LINUX_DIR)/drivers/leds/leds-adm5120.$(LINUX_KMOD_SUFFIX) 
    261   AUTOLOAD:=$(call AutoLoad,60,leds-adm5120) 
     278  AUTOLOAD:=$(call AutoLoad,59,leds-adm5120) 
    262279endef 
    263280 
Note: See TracChangeset for help on using the changeset viewer.