diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-07-25 15:49:57 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2012-07-25 15:49:57 +0000 |
commit | c3b9a987b7120dbd97e095d08c7a957e5f0b5dab (patch) | |
tree | 180e4281f30e6d0bff5ace69cb2ad5310f00991f | |
parent | bca45d6d8afe8eb82d36c2b50940a2e0c8cc33e9 (diff) | |
download | mtk-20170518-c3b9a987b7120dbd97e095d08c7a957e5f0b5dab.zip mtk-20170518-c3b9a987b7120dbd97e095d08c7a957e5f0b5dab.tar.gz mtk-20170518-c3b9a987b7120dbd97e095d08c7a957e5f0b5dab.tar.bz2 |
move leds modules back to target modules.mk
SVN-Revision: 32851
-rw-r--r-- | package/kernel/modules/leds.mk | 31 | ||||
-rw-r--r-- | target/linux/x86/modules.mk | 32 |
2 files changed, 32 insertions, 31 deletions
diff --git a/package/kernel/modules/leds.mk b/package/kernel/modules/leds.mk index 6e94e04..afb9942 100644 --- a/package/kernel/modules/leds.mk +++ b/package/kernel/modules/leds.mk @@ -24,21 +24,6 @@ endef $(eval $(call KernelPackage,leds-gpio)) -define KernelPackage/leds-net48xx - SUBMENU:=$(LEDS_MENU) - TITLE:=Soekris Net48xx LED support - DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 - KCONFIG:=CONFIG_LEDS_NET48XX - FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko - AUTOLOAD:=$(call AutoLoad,50,leds-net48xx) -endef - -define KernelPackage/leds-net48xx/description - Kernel module for Soekris Net48xx LEDs -endef - -$(eval $(call KernelPackage,leds-net48xx)) - define KernelPackage/leds-rb750 SUBMENU:=$(LEDS_MENU) @@ -72,22 +57,6 @@ endef $(eval $(call KernelPackage,leds-wndr3700-usb)) -define KernelPackage/leds-wrap - SUBMENU:=$(LEDS_MENU) - TITLE:=PCengines WRAP LED support - DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 - KCONFIG:=CONFIG_LEDS_WRAP - FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko - AUTOLOAD:=$(call AutoLoad,50,leds-wrap) -endef - -define KernelPackage/leds-wrap/description - Kernel module for PCengines WRAP LEDs -endef - -$(eval $(call KernelPackage,leds-wrap)) - - define KernelPackage/ledtrig-heartbeat SUBMENU:=$(LEDS_MENU) TITLE:=LED Heartbeat Trigger diff --git a/target/linux/x86/modules.mk b/target/linux/x86/modules.mk index 7826dc8..70a64ff 100644 --- a/target/linux/x86/modules.mk +++ b/target/linux/x86/modules.mk @@ -280,3 +280,35 @@ define KernelPackage/i2c-scx200-acb/description endef $(eval $(call KernelPackage,i2c-scx200-acb)) + + +define KernelPackage/leds-wrap + SUBMENU:=$(LEDS_MENU) + TITLE:=PCengines WRAP LED support + DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 + KCONFIG:=CONFIG_LEDS_WRAP + FILES:=$(LINUX_DIR)/drivers/leds/leds-wrap.ko + AUTOLOAD:=$(call AutoLoad,50,leds-wrap) +endef + +define KernelPackage/leds-wrap/description + Kernel module for PCengines WRAP LEDs +endef + +$(eval $(call KernelPackage,leds-wrap)) + + +define KernelPackage/leds-net48xx + SUBMENU:=$(LEDS_MENU) + TITLE:=Soekris Net48xx LED support + DEPENDS:=@TARGET_x86 +kmod-gpio-scx200 + KCONFIG:=CONFIG_LEDS_NET48XX + FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.ko + AUTOLOAD:=$(call AutoLoad,50,leds-net48xx) +endef + +define KernelPackage/leds-net48xx/description + Kernel module for Soekris Net48xx LEDs +endef + +$(eval $(call KernelPackage,leds-net48xx)) |