Преглед изворни кода

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/21363
Signed-off-by: Robert Marko <[email protected]>
(cherry picked from commit 7a78dc4a5d1edc63116b100ffe6c374913d128a8)
Eric Fahlgren пре 1 месец
родитељ
комит
107ac00404
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      package/network/utils/ethtool/Makefile

+ 1 - 0
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