iwinfo: enable nl80211 support based on cfg80211, not mac80211

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42758
This commit is contained in:
Felix Fietkau 2014-10-05 10:25:55 +00:00
parent 3158e7cca2
commit 0e439d8a2a

View file

@ -15,7 +15,7 @@ PKG_CONFIG_DEPENDS := \
CONFIG_PACKAGE_kmod-brcm-wl-mini \ CONFIG_PACKAGE_kmod-brcm-wl-mini \
CONFIG_PACKAGE_kmod-brcm-wl-mimo \ CONFIG_PACKAGE_kmod-brcm-wl-mimo \
CONFIG_PACKAGE_kmod-madwifi \ CONFIG_PACKAGE_kmod-madwifi \
CONFIG_PACKAGE_kmod-mac80211 CONFIG_PACKAGE_kmod-cfg80211
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -24,7 +24,7 @@ define Package/libiwinfo
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=Generalized Wireless Information Library (iwinfo) TITLE:=Generalized Wireless Information Library (iwinfo)
DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny DEPENDS:=+PACKAGE_kmod-cfg80211:libnl-tiny
ABI_VERSION:=$(PKG_RELEASE) ABI_VERSION:=$(PKG_RELEASE)
MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org> MAINTAINER:=Jo-Philipp Wich <xm@subsignal.org>
endef endef
@ -76,7 +76,7 @@ IWINFO_BACKENDS := \
$(if $(CONFIG_PACKAGE_kmod-brcm-wl-mini),wl) \ $(if $(CONFIG_PACKAGE_kmod-brcm-wl-mini),wl) \
$(if $(CONFIG_PACKAGE_kmod-brcm-wl-mimo),wl) \ $(if $(CONFIG_PACKAGE_kmod-brcm-wl-mimo),wl) \
$(if $(CONFIG_PACKAGE_kmod-madwifi),madwifi) \ $(if $(CONFIG_PACKAGE_kmod-madwifi),madwifi) \
$(if $(CONFIG_PACKAGE_kmod-mac80211),nl80211) $(if $(CONFIG_PACKAGE_kmod-cfg80211),nl80211)
TARGET_CFLAGS += \ TARGET_CFLAGS += \
-I$(STAGING_DIR)/usr/include/libnl-tiny \ -I$(STAGING_DIR)/usr/include/libnl-tiny \