[openwrt/openwrt] package: ethtool: specify just one default variant

LEDE Commits lede-commits at lists.infradead.org
Fri Jan 2 09:11:36 PST 2026


robimarko pushed a commit to openwrt/openwrt.git, branch openwrt-25.12:
https://git.openwrt.org/107ac004043a3390dd050f0ad0675a398d89f8cc

commit 107ac004043a3390dd050f0ad0675a398d89f8cc
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>
    (cherry picked from commit 7a78dc4a5d1edc63116b100ffe6c374913d128a8)
---
 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