Trying the following patch, but it's not building the module.  What am I 
missing?





Index: target/linux/x86/net5501/target.mk
===================================================================
--- target/linux/x86/net5501/target.mk  (revision 23452)
+++ target/linux/x86/net5501/target.mk  (working copy)
@@ -3,6 +3,7 @@
                        kmod-gpio-cs5535 kmod-gpio-nsc kmod-gpio-pc8736x \
                        kmod-wdt-geode kmod-hwmon-core kmod-hwmon-pc87360 \
                        kmod-via-rhine \
+                       kmod-leds-gpio kmod-leds-net5501 \
                        kmod-i2c-core kmod-i2c-gpio \
                        kmod-i2c-algo-bit kmod-i2c-algo-pca kmod-i2c-algo-pcf \
                        kmod-usb-core kmod-usb2 kmod-usb-hid kmod-usb-uhci
Index: package/kernel/modules/other.mk
===================================================================
--- package/kernel/modules/other.mk     (revision 23452)
+++ package/kernel/modules/other.mk     (working copy)
@@ -439,6 +439,22 @@
 $(eval $(call KernelPackage,leds-net48xx))
 
 
+define KernelPackage/leds-net5501
+  SUBMENU:=$(OTHER_MENU)
+  TITLE:=Soekris Net5501 LED support
+  DEPENDS:=...@target_x86 +kmod-gpio-scx200
+  KCONFIG:=CONFIG_LEDS_NET5501
+  FILES:=$(LINUX_DIR)/drivers/leds/leds-net5501.ko
+  AUTOLOAD:=$(call AutoLoad,50,leds-net5501)
+endef
+
+define KernelPackage/leds-net5501/description
+ Kernel module for Soekris Net5501 LEDs
+endef
+
+$(eval $(call KernelPackage,leds-net5501))
+
+
 define KernelPackage/leds-rb750
   SUBMENU:=$(OTHER_MENU)
   TITLE:=RouterBOARD 750 LED support

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to