kernel: fix leds-net48xx and scx200-gpio dependencies, closes #4486
authorAndy Boyett <agb@openwrt.org>
Thu, 29 Jan 2009 11:32:20 +0000 (11:32 +0000)
committerAndy Boyett <agb@openwrt.org>
Thu, 29 Jan 2009 11:32:20 +0000 (11:32 +0000)
SVN-Revision: 14255

package/kernel/modules/other.mk

index 9f5ea2d0b9f2976ea20bf38eeba2e936ac888908..fb5c241480df80a2a68580d44c109a6a43a6003b 100644 (file)
@@ -404,7 +404,7 @@ $(eval $(call KernelPackage,ledtrig-adm5120-switch))
 define KernelPackage/leds-net48xx
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Soekris Net48xx LED support
-  DEPENDS:=@TARGET_x86
+  DEPENDS:=@TARGET_x86 +kmod-scx200-gpio
   KCONFIG:=CONFIG_LEDS_NET48XX
   FILES:=$(LINUX_DIR)/drivers/leds/leds-net48xx.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,leds-net48xx)
@@ -514,7 +514,7 @@ $(eval $(call KernelPackage,nsc-gpio))
 define KernelPackage/scx200-gpio
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Natsemi SCX200 GPIO support
-  DEPENDS:=@TARGET_x86 kmod-nsc-gpio
+  DEPENDS:=@TARGET_x86 +kmod-nsc-gpio
   KCONFIG:=CONFIG_SCx200_GPIO
   FILES:=$(LINUX_DIR)/drivers/char/scx200_gpio.$(LINUX_KMOD_SUFFIX)
   AUTOLOAD:=$(call AutoLoad,50,scx200_gpio)