diff options
-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 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)) |