[RFC PATCH 1/2] Workaround recursive error
Hauke Mehrtens
hauke at hauke-m.de
Sun Jan 17 12:10:35 EST 2021
It looks like there is a bug in our configuration system when we add the
additional dependencies in PKG_DEFAULT_DEPENDS we get these recursive
errors:
----------------------------
tmp/.config-package.in:19514:error: recursive dependency detected!
tmp/.config-package.in:19514: symbol PACKAGE_kmod-cfg80211 depends on PACKAGE_kmod-cfg80211
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:19115:error: recursive dependency detected!
tmp/.config-package.in:19115: symbol PACKAGE_kmod-b43 depends on PACKAGE_kmod-b43
For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations"
tmp/.config-package.in:18681:error: recursive dependency det
----------------------------
Just remove the dependency on iw.
---
package/kernel/mac80211/Makefile | 2 +-
package/network/utils/iw/Makefile | 11 ++++++++---
2 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/package/kernel/mac80211/Makefile b/package/kernel/mac80211/Makefile
index 096225754c31..2e4a4d4019ea 100644
--- a/package/kernel/mac80211/Makefile
+++ b/package/kernel/mac80211/Makefile
@@ -98,7 +98,7 @@ PKG_CONFIG_DEPENDS += \
define KernelPackage/cfg80211
$(call KernelPackage/mac80211/Default)
TITLE:=cfg80211 - wireless configuration API
- DEPENDS+= +iw +wireless-regdb
+ DEPENDS+= +wireless-regdb
ABI_VERSION:=$(PKG_VERSION)-$(PKG_RELEASE)
FILES:= \
$(PKG_BUILD_DIR)/compat/compat.ko \
diff --git a/package/network/utils/iw/Makefile b/package/network/utils/iw/Makefile
index 6eb10c837fde..6a551004c9fe 100644
--- a/package/network/utils/iw/Makefile
+++ b/package/network/utils/iw/Makefile
@@ -27,13 +27,18 @@ define Package/iw
URL:=http://wireless.kernel.org/en/users/Documentation/iw
DEPENDS:= +libnl-tiny
VARIANT:=tiny
+ PROVIDES:=iw
+ CONFLICTS:=iw-full
endef
define Package/iw-full
- $(Package/iw)
- TITLE += (full version)
- VARIANT:=full
+ SECTION:=net
+ CATEGORY:=Network
+ TITLE:=cfg80211 interface configuration utility (full version)
+ URL:=http://wireless.kernel.org/en/users/Documentation/iw
+ DEPENDS:= +libnl-tiny
PROVIDES:=iw
+ VARIANT:=full
endef
define Build/Configure
--
2.20.1
More information about the openwrt-devel
mailing list