define KernelPackage/mac80211
SUBMENU:=Wireless Drivers
TITLE:=Linux 802.11 Wireless Networking Stack
- DEPENDS:=@LINUX_2_6
+ DEPENDS:=@LINUX_2_6 +kmod-crypto-arc4 +kmod-crypto-aes
KCONFIG:=CONFIG_MAC80211
- DESCRIPTION:=\
- This package contains the DeviceScape 80211 wireless stack.
FILES:= \
$(PKG_BUILD_DIR)/mac80211/mac80211.$(LINUX_KMOD_SUFFIX) \
$(PKG_BUILD_DIR)/mac80211/rc80211_lowest.$(LINUX_KMOD_SUFFIX) \
AUTOLOAD:=$(call AutoLoad,20,cfg80211 mac80211 rc80211_simple)
endef
+define KernelPackage/mac80211/description
+ This package contains the DeviceScape 80211 wireless stack.
+endef
+
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)/mac80211
$(CP) ./src/mac80211/* $(PKG_BUILD_DIR)/mac80211/
endef
define Build/InstallDev
- mkdir -p $(STAGING_DIR)/usr/include/mac80211
- $(CP) $(PKG_BUILD_DIR)/mac80211/{hostapd_ioctl,ieee80211_common}.h $(STAGING_DIR)/usr/include/mac80211/
+ mkdir -p $(1)/usr/include/mac80211
+ $(CP) $(PKG_BUILD_DIR)/mac80211/{hostapd_ioctl,ieee80211_common}.h $(1)/usr/include/mac80211/
endef
define Build/UninstallDev
- rm -rf $(STAGING_DIR)/usr/include/mac80211
+ rm -rf $(1)/usr/include/mac80211
endef
$(eval $(call KernelPackage,mac80211))