[openwrt/openwrt] package: ethtool: specify just one default variant
LEDE Commits
lede-commits at lists.infradead.org
Fri Jan 2 08:50:00 PST 2026
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/7a78dc4a5d1edc63116b100ffe6c374913d128a8
commit 7a78dc4a5d1edc63116b100ffe6c374913d128a8
Author: Eric Fahlgren <ericfahlgren at gmail.com>
AuthorDate: Fri Jan 2 08:20:15 2026 -0800
package: ethtool: specify just one default variant
Inadvertently defining 'DEFAULT_VARIANT' on both ethool and
ethtool-full variants resulted in
$ make defconfig
tmp/.config-package.in:121615:error: recursive dependency detected!
tmp/.config-package.in:121615: symbol PACKAGE_ethtool-full is selected by PACKAGE_ethtool
tmp/.config-package.in:121605: symbol PACKAGE_ethtool depends on PACKAGE_ethtool-full
Fix this by simply undefining 'DEFAULT_VARIANT' on the ethtool-full
variant, which is ugly, but expedient.
Fixes: https://github.com/openwrt/openwrt/commit/f4fdb996
Signed-off-by: Eric Fahlgren <ericfahlgren at gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21363
Signed-off-by: Robert Marko <robimarko at gmail.com>
---
package/network/utils/ethtool/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/network/utils/ethtool/Makefile b/package/network/utils/ethtool/Makefile
index 4d75b92d6f..883954db22 100644
--- a/package/network/utils/ethtool/Makefile
+++ b/package/network/utils/ethtool/Makefile
@@ -43,6 +43,7 @@ define Package/ethtool-full
PROVIDES:=ethtool
DEPENDS:=+libmnl
CONFLICTS:=
+ DEFAULT_VARIANT:=
endef
define Package/ethtool/description
More information about the lede-commits
mailing list