From: Markus Niebel <markus.nie...@tq-group.com>

regarding to https://www.kernel.org/doc/Documentation/Changes
kernel needs openssl to compile since v4.3

This is true only for use cases like module signing and trusted keyring
for things like IMA. Add hostside openssl as an optional dependency

Signed-off-by: Markus Niebel <markus.nie...@tq-group.com>
---
Changes since v1

make dependency optional as suggested by M. Olbrich

 platforms/kernel.in | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/platforms/kernel.in b/platforms/kernel.in
index 8b16739..4893353 100644
--- a/platforms/kernel.in
+++ b/platforms/kernel.in
@@ -9,6 +9,7 @@ menuconfig KERNEL
        select HOST_LZOP                if KERNEL_LZOP
        select HOST_LIBKMOD             if KERNEL_MODULES
        select HOST_SYSTEM_BC
+       select HOST_OPENSSL             if KERNEL_OPENSSL
        prompt "Linux kernel                  "
 
 if KERNEL
@@ -236,6 +237,15 @@ config KERNEL_LZOP
          Select this if you're unsure, as it won't hurt. It just
          increases the build time.
 
+config KERNEL_OPENSSL
+       prompt "build openssl hosttool"
+       bool
+       help
+         Select this if you're going to build your kernel with support for
+         module signing, IMA etc. where openssl is need as hosttool
+
+         Select this if you're unsure, as it won't hurt. It just
+         increases the build time.
 
 menu "patching & configuration      "
 
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to