From b014d18e927384c6bb63eef47c83554c555d32f2 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Tue, 19 Aug 2025 23:26:30 +0200 Subject: [PATCH] linux: enable BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL on a few more architectures This commit is an extension of 5dae966a30c5485e45b94f750a739d36810cba4c ("linux: select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL when needed"), which solves autobuilder issues by making sure that BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL is automatically enabled on some architecture if the default architecture defconfig is used and the latest kernel is built (which is what happens in the autobuilders). This new commit adds BR2_or1k and BR2_riscv to the list to fix autobuilder issues. Fixes: https://autobuild.buildroot.org/results/1a739eee39bdef8986279a9e21f8637fbe263353/ (or1k) https://autobuild.buildroot.org/results/acb62b7a486f3f8e99c6cc2b52b0c259bfa18a0e/ (riscv) Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain (cherry picked from commit e002ec3773452a14180b9be686d909ccb2e61a5d) Signed-off-by: Thomas Perale --- linux/Config.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/Config.in b/linux/Config.in index e3a7fb1e4c..160dd471a7 100644 --- a/linux/Config.in +++ b/linux/Config.in @@ -176,7 +176,8 @@ config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG # version. This is mainly needed to fix autobuilder testing. select BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL if \ BR2_LINUX_KERNEL_LATEST_VERSION && \ - (BR2_aarch64 || BR2_aarch64_be || BR2_arcle || BR2_arceb || BR2_sparc || BR2_x86_64) + (BR2_aarch64 || BR2_aarch64_be || BR2_arcle || BR2_arceb || \ + BR2_or1k || BR2_riscv || BR2_sparc || BR2_x86_64) help This option will use the default configuration for the selected architecture. I.e, it is equivalent to running