lede/package
Beginner d6d23bcaf3
ethtool: fix recursive dependency (#7793)
Change the CONFLICTS definition from the alternative package
(ethtool-full) to the main one.

The CONFLICTS line creates a dependency to the conflicting package.

Right now, the dependency would be created in the PACKAGE_ethtool-full
symbol:

config PACKAGE_ethtool-full
        depends on m || (PACKAGE_ethtool != y)

When the main package is selected by airmon-ng, it selects
PACKAGE_ethtool, *depending* on the value of PACKAGE_ethtool-full:

config PACKAGE_airmon-ng
        select PACKAGE_ethtool if PACKAGE_ethtool-full<PACKAGE_airmon-ng

In the first block, the value of PACKAGE_ethtool-full depends on the
value of PACKAGE_ethtool.  In the second block, the opposite is true:
the value of PACKAGE_ethtool depends on the value of
PACKAGE_ethtool-full.  This is a recursive dependency.

Fix it by changing the package where the dependency is created, so that
only the value of PACKAGE_ethtool will depend on PACKAGE_ethtool-full.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>

Co-authored-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-09-01 23:15:23 +08:00
..
base-files base-files: add option to make /var persistent (#7719) 2021-08-24 19:13:55 +08:00
boot ipq806x: add support for Arris RAC2V1A (#7680) 2021-08-20 01:36:28 +08:00
devel add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00
firmware ipq807x: add support for ZTE MF269 (#7713) 2021-08-22 01:27:48 +08:00
kernel mac80211: remove patch (#7742) 2021-08-25 15:07:02 +08:00
lean luci-app-xlnetacc: rewrite makefile (#7784) 2021-08-31 23:10:33 +08:00
libs openssl: Refresh patch (#7765) 2021-08-29 13:33:31 +08:00
network ethtool: fix recursive dependency (#7793) 2021-09-01 23:15:23 +08:00
qca ramips: add Mediatek EIP93 Crypto Engine for MT7621 SoC 2021-07-28 10:25:30 +08:00
system Revert "procd: update to git HEAD (#7676)" 2021-08-26 16:46:06 +08:00
utils util-linux: update to 2.37 (#7427) 2021-07-19 12:50:07 +00:00
Makefile add kernel 5.10 support and sync with upstream 2021-06-14 18:30:08 +08:00