From f97b67be7429e35c16757b68ee057c435d4389a2 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 16 Dec 2024 23:36:18 +0100 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain --- utils/genrandconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/genrandconfig b/utils/genrandconfig index 0698cc5ff07e..67f0ea9f7341 100755 --- a/utils/genrandconfig +++ b/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)