diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2021-08-12 10:57:07 -0300 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2021-08-31 20:35:19 +0200 |
commit | 4d0883c011e1f56711f59c2f18315d2cd817dba2 (patch) | |
tree | 608cf77e52b1c4f2b84dc32e7f831e45e14dd564 /target | |
parent | bf94c2da3e60fe41b379cf4a7f87763d30fcb601 (diff) | |
download | upstream-4d0883c011e1f56711f59c2f18315d2cd817dba2.tar.gz upstream-4d0883c011e1f56711f59c2f18315d2cd817dba2.tar.bz2 upstream-4d0883c011e1f56711f59c2f18315d2cd817dba2.zip |
ethtool: fix recursive dependency
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>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions