From 0e2c7a58c1046f7f4e30f732b1e734dc3d86e40c Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 20 Jul 2010 01:54:16 +0000 Subject: move the crda dependency to the kmod-cfg80211 package, get rid of crda's dependency on mac80211. this fixes circular dependency issues git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22304 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/crda/Makefile | 2 +- package/hostapd/Makefile | 2 +- package/mac80211/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package/crda/Makefile b/package/crda/Makefile index 7036dcfd6..9e9be188f 100644 --- a/package/crda/Makefile +++ b/package/crda/Makefile @@ -28,7 +28,7 @@ define Package/crda SECTION:=net CATEGORY:=Network TITLE:=Central Regulatory Domain Agent (CRDA) - DEPENDS:=+kmod-mac80211 +libnl-tiny + DEPENDS:=+libnl-tiny URL:=http://wireless.kernel.org/en/developers/Regulatory/CRDA endef diff --git a/package/hostapd/Makefile b/package/hostapd/Makefile index 3e4864dcc..5bcaba945 100644 --- a/package/hostapd/Makefile +++ b/package/hostapd/Makefile @@ -82,7 +82,7 @@ ifneq ($(LOCAL_TYPE),hostapd) CONFIG_DRIVER_ROBOSWITCH=$(CONFIG_PACKAGE_kmod-switch) endif -DRV_DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny +PACKAGE_kmod-mac80211:crda @(!(TARGET_avr32||TARGET_etrax)||BROKEN) +DRV_DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny @(!(TARGET_avr32||TARGET_etrax)||BROKEN) define Package/hostapd/Default SECTION:=net diff --git a/package/mac80211/Makefile b/package/mac80211/Makefile index 050447d05..03a1a4b0d 100644 --- a/package/mac80211/Makefile +++ b/package/mac80211/Makefile @@ -41,7 +41,7 @@ endef define KernelPackage/cfg80211 $(call KernelPackage/mac80211/Default) TITLE:=cfg80211 - wireless configuration API - DEPENDS+= +wireless-tools +iw @!LINUX_2_6_25 + DEPENDS+= +wireless-tools +iw @!LINUX_2_6_25 +crda ifeq ($(strip $(call CompareKernelPatchVer,$(KERNEL_PATCHVER),ge,2.6.33)),1) FILES:= \ $(PKG_BUILD_DIR)/compat/compat.ko \ -- cgit v1.2.3