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
..
2018-01-15 18:26:41 +08:00
2018-01-15 18:26:41 +08:00
2021-06-15 17:58:07 +08:00
2020-07-02 23:30:56 +08:00
2018-09-07 13:43:55 +08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2017-09-06 19:19:45 +08:00
2021-07-31 16:48:06 +08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2017-09-06 19:19:45 +08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00
2021-06-15 17:58:07 +08:00