aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-04-10 14:42:11 +0000
committerJohn Crispin <john@openwrt.org>2015-04-10 14:42:11 +0000
commite4bf2d73f6cb6e4dbb5159cb2da82daf5b3d88dd (patch)
tree6762c731c8136a16b83ddb0f62ecbd0210e46fd7 /package/kernel
parente20e49273b325f340c8d8878de1dc554638d5de1 (diff)
downloadupstream-e4bf2d73f6cb6e4dbb5159cb2da82daf5b3d88dd.tar.gz
upstream-e4bf2d73f6cb6e4dbb5159cb2da82daf5b3d88dd.tar.bz2
upstream-e4bf2d73f6cb6e4dbb5159cb2da82daf5b3d88dd.zip
modules: more wpan fixes
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 45365
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/linux/modules/wpan.mk30
1 files changed, 7 insertions, 23 deletions
diff --git a/package/kernel/linux/modules/wpan.mk b/package/kernel/linux/modules/wpan.mk
index a89f3b71fc..8b253774f7 100644
--- a/package/kernel/linux/modules/wpan.mk
+++ b/package/kernel/linux/modules/wpan.mk
@@ -9,7 +9,7 @@ WPAN_MENU:=Wireless Drivers
define KernelPackage/ieee802154
SUBMENU:=$(WPAN_MENU)
TITLE:=IEEE-802.15.4 support
- DEPENDS:=@!LINUX_4.0
+ DEPENDS:=@LINUX_4_0
KCONFIG:= \
CONFIG_IEEE802154 \
CONFIG_IEEE802154_SOCKET=y
@@ -32,11 +32,11 @@ $(eval $(call KernelPackage,ieee802154))
define KernelPackage/mac802154
SUBMENU:=$(WPAN_MENU)
TITLE:=MAC-802.15.4 support
- DEPENDS:=@!LINUX_4.0
+ DEPENDS:=@LINUX_4_0
KCONFIG:= \
CONFIG_MAC802154 \
CONFIG_IEEE802154_DRIVERS=y
- DEPENDS:=+kmod-ieee802154 +kmod-crypto-aead +kmod-lib-crc-ccitt @!LINUX_4.0
+ DEPENDS:=+kmod-ieee802154 +kmod-crypto-aead +kmod-lib-crc-ccitt @LINUX_4_0
FILES:=$(LINUX_DIR)/net/mac802154/mac802154.ko
AUTOLOAD:=$(call AutoLoad,91,mac802154)
endef
@@ -53,26 +53,10 @@ endef
$(eval $(call KernelPackage,mac802154))
-define KernelPackage/fakehard
- SUBMENU:=$(WPAN_MENU)
- TITLE:=Fake LR-WPAN driver
- DEPENDS:=+kmod-mac802154 @!LINUX_4.0
- KCONFIG:=CONFIG_IEEE802154_FAKEHARD
- FILES:=$(LINUX_DIR)/drivers/net/ieee802154/fakehard.ko
- AUTOLOAD:=$(call AutoLoad,92,fakehard)
-endef
-
-define KernelPackage/fakehard/description
- Say Y here to enable the fake driver that can emulate a net
- of several interconnected radio devices.
-endef
-
-$(eval $(call KernelPackage,fakehard))
-
define KernelPackage/fakelb
SUBMENU:=$(WPAN_MENU)
- TITLE:=Fake LR-WPAN loopback driver
- DEPENDS:=+kmod-mac802154 @!LINUX_4.0
+ TITLE:=Fake LR-WPAN driver
+ DEPENDS:=+kmod-mac802154 @LINUX_4_0
KCONFIG:=CONFIG_IEEE802154_FAKELB
FILES:=$(LINUX_DIR)/drivers/net/ieee802154/fakelb.ko
AUTOLOAD:=$(call AutoLoad,92,fakelb)
@@ -124,9 +108,9 @@ $(eval $(call KernelPackage,cc2520))
define KernelPackage/ieee802154_6lowpan
SUBMENU:=$(WPAN_MENU)
TITLE:= 6LoWPAN support over IEEE-802.15.4
- DEPENDS:=@!LINUX_4.0
+ DEPENDS:=@LINUX_4_0
KCONFIG:=CONFIG_IEEE802154_6LOWPAN
- DEPENDS:=@!LINUX_4.0
+ DEPENDS:=@LINUX_4_0
FILES:=$(LINUX_DIR)/net/ieee802154/6lowpan/ieee802154_6lowpan.ko
AUTOLOAD:=$(call AutoLoad,91,ieee802154_6lowpan)
endef