linux: enable BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL for CIP kernels and all archs
PATCH 1/1 linux: enable BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL for CIP kernels and all archs
Fixes build errors with CIP kernels:scripts/extract-cert.c:21:10: fatal error: openssl/bio.h: No such file or directory
21 | #include <openssl/bio.h>
and similar build errors with vanilla kernel on other archs.
Instead of adding more and more archs we select host-openssl for all archs.
Fixes:
- linux:
arm: https://autobuild.buildroot.net/results/dd5/dd5581dd2861d5ca86746a5aadb34d1dad9a5c0a/
armeb: https://autobuild.buildroot.net/results/0f6/0f6280e872310a27c0cf04f9a9b98d858992fbe7/
i686: https://autobuild.buildroot.net/results/aa7/aa78ca7062ea70e52e0ca0e480ef2fe218911334/
loongarch64: https://autobuild.buildroot.net/results/713/7133be874ae90b3e1649764be8e5ee70d3fd35d1/
mips: https://autobuild.buildroot.net/results/f3c/f3c9060777f8df03dca5594de8700833fafcb712/
mipsel: https://autobuild.buildroot.net/results/f36/f36aecce3c91979e1151429cfe158d3398fe7062/
mips64: https://autobuild.buildroot.net/results/293/293081c0f8ae45a9fa42d275208e3efe5c39e2b8/
mips64el: https://autobuild.buildroot.net/results/3c6/3c637b7a806640e940537f856ba7163b894077f9/
powerpc: https://autobuild.buildroot.net/results/20e/20ee38453a23fdb23f8db8af1ab9685c045f38b5/
powerpc64: https://autobuild.buildroot.net/results/044/044237b8cf8382892388bb224edfb0125ec38d42/
s390x: https://autobuild.buildroot.net/results/228/228b83c72d87fc6f0357f0b77db4230c56dd45f9/
sparc64: https://autobuild.buildroot.net/results/8d1/8d112fcba1c914b3db70d4a39f223bdc8ce9788a/
- linux-cip:
aarch64: https://autobuild.buildroot.net/results/f91/f910c1e0e864055120e2deaf4d56b127cabb89bd/aarch64_be: https://autobuild.buildroot.net/results/6e6/6e651c586f9b2a1c9b39cafaf5bebc8b501e8369/
arceb: https://autobuild.buildroot.net/results/ddb/ddb5d967822c127c61a1b0311d6a0a81dcfa9f5a/
arcle: (not found on autobuilders)
arcbe: https://autobuild.buildroot.net/results/9fe/9fe7b4c66ac139926e9a3686bc951af703e78b29/
arm: https://autobuild.buildroot.net/results/288/2888b0b6f5473e9c7ec7c443b02b42e1f5d4c814/
armeb: https://autobuild.buildroot.net/results/d6c/d6cbbfdcbebe985d743232070824779e790aa5a8/
microblazeel: https://autobuild.buildroot.net/results/bf3/bf3b4c61cdaf3527e9e315050bf21456bbb24a48/
mips: https://autobuild.buildroot.net/results/c6b/c6b9c82352be01dd4bab2021a223e72dfaf1f522/
or1k: https://autobuild.buildroot.net/results/231/23144a8108c5837e3a9cf26ad6ac73fa16dc740f/
riscv: https://autobuild.buildroot.net/results/31c/31c3abdb23bfe16e248e094e9b0feafbbb0d6a94/
s390x: https://autobuild.buildroot.net/results/bda/bdaaf6767f8c239bbf22e4619b2d6944ef951b2e/
sparc: https://autobuild.buildroot.net/results/426/42614f77be9fa1b3a596cdcb40cfb81f5496b41b/
sparc64: https://autobuild.buildroot.net/results/1f2/1f226d028d85c085d82f3890e804b39bccd2c2dc/x86_64: https://autobuild.buildroot.net/results/7be/7be86c261a42e1a16c3d38a640be226b5f51bccb/
and maybe more...
--- linux/Config.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
linux/Config.in +2 -3
@@ -179,9 +179,8 @@ config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG # requires host-openssl, so select it for the latest kernel # 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_or1k || BR2_riscv || BR2_sparc || BR2_x86_64) + BR2_LINUX_KERNEL_LATEST_VERSION || \ + BR2_LINUX_KERNEL_LATEST_CIP_VERSION help This option will use the default configuration for the selected architecture. I.e, it is equivalent to running
Signature · 6 lines
2.47.3 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello!
Quoted 54 lines · Bernd Kuhls
Fixes build errors with CIP kernels:
scripts/extract-cert.c:21:10: fatal error:openssl/bio.h: No such file or directory
21 | #include <openssl/bio.h>and similar build errors with vanilla kernel on other archs.
Instead of adding more and more archs we select host-openssl for all archs.
Fixes:
- linux:
arm: https://autobuild.buildroot.net/results/dd5/dd5581dd2861d5ca86746a5aadb34d1dad9a5c0a/
armeb: https://autobuild.buildroot.net/results/0f6/0f6280e872310a27c0cf04f9a9b98d858992fbe7/
i686: https://autobuild.buildroot.net/results/aa7/aa78ca7062ea70e52e0ca0e480ef2fe218911334/
loongarch64: https://autobuild.buildroot.net/results/713/7133be874ae90b3e1649764be8e5ee70d3fd35d1/
mips: https://autobuild.buildroot.net/results/f3c/f3c9060777f8df03dca5594de8700833fafcb712/
mipsel: https://autobuild.buildroot.net/results/f36/f36aecce3c91979e1151429cfe158d3398fe7062/
mips64: https://autobuild.buildroot.net/results/293/293081c0f8ae45a9fa42d275208e3efe5c39e2b8/
mips64el: https://autobuild.buildroot.net/results/3c6/3c637b7a806640e940537f856ba7163b894077f9/
powerpc: https://autobuild.buildroot.net/results/20e/20ee38453a23fdb23f8db8af1ab9685c045f38b5/
powerpc64: https://autobuild.buildroot.net/results/044/044237b8cf8382892388bb224edfb0125ec38d42/
s390x: https://autobuild.buildroot.net/results/228/228b83c72d87fc6f0357f0b77db4230c56dd45f9/
sparc64: https://autobuild.buildroot.net/results/8d1/8d112fcba1c914b3db70d4a39f223bdc8ce9788a/- linux-cip:
aarch64: https://autobuild.buildroot.net/results/f91/f910c1e0e864055120e2deaf4d56b127cabb89bd/aarch64_be: https://autobuild.buildroot.net/results/6e6/6e651c586f9b2a1c9b39cafaf5bebc8b501e8369/
arceb: https://autobuild.buildroot.net/results/ddb/ddb5d967822c127c61a1b0311d6a0a81dcfa9f5a/
arcle: (not found on autobuilders)
arcbe: https://autobuild.buildroot.net/results/9fe/9fe7b4c66ac139926e9a3686bc951af703e78b29/
arm: https://autobuild.buildroot.net/results/288/2888b0b6f5473e9c7ec7c443b02b42e1f5d4c814/
armeb: https://autobuild.buildroot.net/results/d6c/d6cbbfdcbebe985d743232070824779e790aa5a8/
microblazeel: https://autobuild.buildroot.net/results/bf3/bf3b4c61cdaf3527e9e315050bf21456bbb24a48/
mips: https://autobuild.buildroot.net/results/c6b/c6b9c82352be01dd4bab2021a223e72dfaf1f522/
or1k: https://autobuild.buildroot.net/results/231/23144a8108c5837e3a9cf26ad6ac73fa16dc740f/
riscv: https://autobuild.buildroot.net/results/31c/31c3abdb23bfe16e248e094e9b0feafbbb0d6a94/
s390x: https://autobuild.buildroot.net/results/bda/bdaaf6767f8c239bbf22e4619b2d6944ef951b2e/
sparc: https://autobuild.buildroot.net/results/426/42614f77be9fa1b3a596cdcb40cfb81f5496b41b/
sparc64: https://autobuild.buildroot.net/results/1f2/1f226d028d85c085d82f3890e804b39bccd2c2dc/x86_64: https://autobuild.buildroot.net/results/7be/7be86c261a42e1a16c3d38a640be226b5f51bccb/and maybe more...
Signed-off-by Bernd Kuhls <[email protected]>--- linux/Config.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)linux/Config.in +0
-0@@ -179,9 +179,8 @@ config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG # requires host-openssl, so select it for the latest kernel
linux/Config.in config BR2_LINUX_KERNEL_USE_ARCH_DEFAULT_CONFIG · line 186
Quoted 10 lines
linux/Config.in +2
-3# 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_or1k || BR2_riscv || BR2_sparc || BR2_x86_64) + BR2_LINUX_KERNEL_LATEST_VERSION || \ + BR2_LINUX_KERNEL_LATEST_CIP_VERSION help This option will use the default configuration for the selected architecture. I.e, it is equivalent to running
Maybe update the comment that comes right before: “select it for the latest kernel version and the latest CIP version.”
Regards,
Edgar.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot