hostapd: switch dependency from mac80211 to cfg80211

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43339 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2014-11-21 20:38:14 +00:00
parent c16f7bc8f5
commit f0eb51712e
1 changed files with 4 additions and 4 deletions

View File

@ -30,7 +30,7 @@ PKG_BUILD_DEPENDS:= \
PKG_CONFIG_DEPENDS:= \ PKG_CONFIG_DEPENDS:= \
CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK \ CONFIG_WPA_SUPPLICANT_NO_TIMESTAMP_CHECK \
CONFIG_PACKAGE_kmod-ath9k \ CONFIG_PACKAGE_kmod-ath9k \
CONFIG_PACKAGE_kmod-mac80211 \ CONFIG_PACKAGE_kmod-cfg80211 \
CONFIG_PACKAGE_kmod-madwifi \ CONFIG_PACKAGE_kmod-madwifi \
CONFIG_PACKAGE_hostapd \ CONFIG_PACKAGE_hostapd \
CONFIG_PACKAGE_hostapd-mini \ CONFIG_PACKAGE_hostapd-mini \
@ -65,7 +65,7 @@ ifneq ($(CONFIG_DRIVER_11N_SUPPORT),)
endif endif
DRIVER_MAKEOPTS= \ DRIVER_MAKEOPTS= \
CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-mac80211) \ CONFIG_DRIVER_NL80211=$(CONFIG_PACKAGE_kmod-cfg80211) \
CONFIG_DRIVER_MADWIFI=$(CONFIG_PACKAGE_kmod-madwifi) \ CONFIG_DRIVER_MADWIFI=$(CONFIG_PACKAGE_kmod-madwifi) \
CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \ CONFIG_DRIVER_HOSTAP=$(CONFIG_PACKAGE_kmod-hostap) \
CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \ CONFIG_IEEE80211N=$(HOSTAPD_IEEE80211N) \
@ -92,7 +92,7 @@ ifdef CONFIG_USE_EGLIBC
TARGET_LDFLAGS_C += -lrt TARGET_LDFLAGS_C += -lrt
endif endif
DRV_DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny @(!TARGET_avr32||BROKEN) DRV_DEPENDS:=+PACKAGE_kmod-cfg80211:libnl-tiny @(!TARGET_avr32||BROKEN)
define Package/hostapd/Default define Package/hostapd/Default
SECTION:=net SECTION:=net
@ -273,7 +273,7 @@ ifeq ($(findstring supplicant,$(BUILD_VARIANT)),)
TARGET_LDFLAGS += -lubox -lubus TARGET_LDFLAGS += -lubox -lubus
endif endif
ifdef CONFIG_PACKAGE_kmod-mac80211 ifdef CONFIG_PACKAGE_kmod-cfg80211
TARGET_LDFLAGS += -lm -lnl-tiny TARGET_LDFLAGS += -lm -lnl-tiny
endif endif