utils/genrandconfig: more igh-ethercat tweaks

utils/genrandconfig already had some logic to disable building
igh-ethercat drivers since they are highly kernel version
specific. Commit
eec3a1108a ("package/igh-ethercat: add
configuration options") recently added a number of additional config
options to build more igh-ethercat drivers, which causes a number of
autobuilder failures. This commit therefore updates genrandconfig to
also not build those new drivers.

Fixes:

  https://autobuild.buildroot.org/results/9489b68967a35aa398e608d663824b2d2be9cae5/ (stmmac driver)
  https://autobuild.buildroot.org/results/ec2c24f16b365a3e7de8964fc8d73cb570c74abe/ (igc driver)
  https://autobuild.buildroot.org/results/65e17f8e03ab14dd9f39386f2176629677b8ba8c/ (genet driver)

Cc: Jannik Becher <becher.jannik@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Thomas Petazzoni
2024-12-16 23:36:18 +01:00
committed by Julien Olivain
parent 8e00663624
commit f97b67be74

View File

@@ -504,7 +504,8 @@ async def fixup_config(sysinfo, configfile):
# Don't build igh-ethercat driver as they are highly # Don't build igh-ethercat driver as they are highly
# kernel-version specific # kernel-version specific
for opt in ['8139TOO', 'E100', 'E1000', 'E1000E', 'R8169']: for opt in ['8139TOO', 'E100', 'E1000', 'E1000E', 'R8169', 'GENET',
'IGB', 'IGC', 'STMMAC_PCI', 'STMMAC', 'DWMAC_INTEL', 'CCAT']:
optstr = 'BR2_PACKAGE_IGH_ETHERCAT_%s=y\n' % opt optstr = 'BR2_PACKAGE_IGH_ETHERCAT_%s=y\n' % opt
if optstr in configlines: if optstr in configlines:
configlines.remove(optstr) configlines.remove(optstr)