From: Florian Fainelli Date: Wed, 25 Jul 2012 15:49:57 +0000 (+0000) Subject: move leds modules back to target modules.mk X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c3b9a987b7120dbd97e095d08c7a957e5f0b5dab;p=openwrt%2Fstaging%2Fyousong.git move leds modules back to target modules.mk SVN-Revision: 32851 --- 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))