kernel: add package for atusb wpan module
authorSebastian Meiling <s@mlng.net>
Tue, 4 Jun 2019 07:36:34 +0000 (09:36 +0200)
committerPetr Štetiar <ynezz@true.cz>
Thu, 6 Jun 2019 13:40:08 +0000 (15:40 +0200)
This adds a new package for the kernel module of the ATUSB WPAN driver.

Signed-off-by: Sebastian Meiling <s@mlng.net>
[fixed SoB: and From: mismatch]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
package/kernel/linux/modules/wpan.mk

index b06d7647f59e072a094f9e3280476b9bbe8df683..1e986ee0ca8ebe663175ada97a839945736762c6 100644 (file)
@@ -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