Browse Source

kernel: add package for atusb wpan module

This adds a new package for the kernel module of the ATUSB WPAN driver.

Signed-off-by: Sebastian Meiling <[email protected]>
[fixed SoB: and From: mismatch]
Signed-off-by: Petr Štetiar <[email protected]>
Sebastian Meiling 6 years ago
parent
commit
239b79f668
1 changed files with 11 additions and 0 deletions
  1. 11 0
      package/kernel/linux/modules/wpan.mk

+ 11 - 0
package/kernel/linux/modules/wpan.mk

@@ -68,6 +68,17 @@ endef
 
 $(eval $(call KernelPackage,fakelb))
 
+define KernelPackage/atusb
+  SUBMENU:=$(WPAN_MENU)
+  TITLE:=ATUSB transceiver driver
+  DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-mac802154
+  KCONFIG:=CONFIG_IEEE802154_ATUSB
+  FILES:=$(LINUX_DIR)/drivers/net/ieee802154/atusb.ko
+  AUTOLOAD:=$(call AutoProbe,atusb)
+endef
+
+$(eval $(call KernelPackage,atusb))
+
 define KernelPackage/at86rf230
   SUBMENU:=$(WPAN_MENU)
   TITLE:=AT86RF230 transceiver driver