package: ethtool: specify just one default variant
authorEric Fahlgren <ericfahlgren@gmail.com>
Fri, 2 Jan 2026 16:20:15 +0000 (08:20 -0800)
committerRobert Marko <robimarko@gmail.com>
Fri, 2 Jan 2026 16:49:56 +0000 (17:49 +0100)
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@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/21363
Signed-off-by: Robert Marko <robimarko@gmail.com>
package/network/utils/ethtool/Makefile

index 4d75b92d6fca16c5765baf1bda89fb156f671aa1..883954db22326767f4b0e9d708352014ebd9023c 100644 (file)
@@ -43,6 +43,7 @@ define Package/ethtool-full
   PROVIDES:=ethtool
   DEPENDS:=+libmnl
   CONFLICTS:=
+  DEFAULT_VARIANT:=
 endef
 
 define Package/ethtool/description