Quellcode durchsuchen

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
eec3a1108a65ab8de4a313a7f34205c5d5ad8f2b ("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>
Thomas Petazzoni vor 7 Monaten
Ursprung
Commit
f97b67be74
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 2 1
      utils/genrandconfig

+ 2 - 1
utils/genrandconfig

@@ -504,7 +504,8 @@ async def fixup_config(sysinfo, configfile):
 
     # Don't build igh-ethercat driver as they are highly
     # 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
         if optstr in configlines:
             configlines.remove(optstr)