From c3b9a987b7120dbd97e095d08c7a957e5f0b5dab Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Wed, 25 Jul 2012 15:49:57 +0000 Subject: [PATCH] move leds modules back to target modules.mk SVN-Revision: 32851 --- package/kernel/modules/leds.mk | 31 ------------------------------- 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 6e94e0485b..afb99420bb 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 7826dc8acd..70a64ffdb4 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)) -- 2.30.2