utils/genrandconfig: disable rtla with older kernel versions
PATCH 1/1 utils/genrandconfig: disable rtla with older kernel versions
Since commit 5e8705263cf4592d8c02fac71803053e17d4f83b ("linux: add first-class support for all upstream linux versions") we are now building older kernel versions in the autobuilders. Some linux-tools do not exist with such older kernel versions, causing build failures in the autobuilders.
This commit handles the RTLA linux tool, which appeared in 5.19.
--- utils/genrandconfig | 6 ++++++ 1 file changed, 6 insertions(+)
utils/genrandconfig +6 -0
@@ -296,6 +296,12 @@ async def fixup_config(sysinfo, configfile, skip_secondary_configs=True): 'BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y\n' in configlines: configlines.remove('BR2_LINUX_KERNEL_IMAGE_TARGET_CUSTOM=y\n') + # RTLA only available since 5.19 + if ('BR2_LINUX_KERNEL_LATEST_5_10=y\n' in configlines or + 'BR2_LINUX_KERNEL_LATEST_5_15=y\n' in configlines) and \ + 'BR2_PACKAGE_LINUX_TOOLS_RTLA=y\n' in configlines: + configlines.remove('BR2_PACKAGE_LINUX_TOOLS_RTLA=y\n') + if 'BR2_PACKAGE_LINUX_BACKPORTS=y\n' in configlines and \ 'BR2_PACKAGE_LINUX_BACKPORTS_USE_CUSTOM_CONFIG=y\n' in configlines and \ 'BR2_PACKAGE_LINUX_BACKPORTS_CUSTOM_CONFIG_FILE=""\n' in configlines:
Signature · 6 lines
2.56.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · Thomas Petazzoni via buildroot
Since commit
5e8705263cf4592d8c02fac71803053e17d4f83b("linux: add first-class support for all upstream linux versions") we are now building older kernel versions in the autobuilders. Some linux-tools do not exist with such older kernel versions, causing build failures in the autobuilders.This commit handles the RTLA linux tool, which appeared in 5.19.
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot