Skip to content

Commit

Permalink
utils/genrandconfig: more igh-ethercat tweaks
Browse files Browse the repository at this point in the history
utils/genrandconfig already had some logic to disable building
igh-ethercat drivers since they are highly kernel version
specific. Commit
eec3a11 ("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 <[email protected]>
Signed-off-by: Thomas Petazzoni <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
  • Loading branch information
tpetazzoni authored and jolivain committed Dec 16, 2024
1 parent 8e00663 commit f97b67b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/genrandconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f97b67b

Please sign in to comment.