Hi

Am Freitag, den 31.03.2017, 16:49 +0200 schrieb Michael Olbrich:
> On Fri, Mar 31, 2017 at 04:30:48PM +0200, Markus Niebel wrote:
> > 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
> 
> I think the documentation is a bit misleading. Since v4.3 it needs openssl
> development packages _if_ module signing is enabled. Or have you seen
> anything else that needs openssl?
> If not, then this should be an option like KERNEL_LZOP.
> 

log just from our buildserver (linux 4.6):

HOSTCC  scripts/extract-cert
scripts/sign-file.c:25:30: fatal error: openssl/opensslv.h: No such file or 
directory
 #include <openssl/opensslv.h>
                              ^
compilation terminated.
scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or 
directory
 #include <openssl/bio.h>
                         ^
compilation terminated.
make[2]: *** [scripts/sign-file] Error 1

The compilation is triggered by

hostprogs-$(CONFIG_SYSTEM_TRUSTED_KEYRING) += extract-cert

So I think this is (potentially) wider use case. I'm not the expert for
this kind of stuff. Can send v2 with same approach as KERNEL_LZOP 

Markus

> Michael
> 
> > Signed-off-by: Markus Niebel <markus.nie...@tq-group.com>
> > ---
> >  platforms/kernel.in | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/platforms/kernel.in b/platforms/kernel.in
> > index 8b16739..69b326f 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
> >     prompt "Linux kernel                  "
> >  
> >  if KERNEL
> > -- 
> > 1.9.1
> > 
> > 
> > _______________________________________________
> > ptxdist mailing list
> > ptxdist@pengutronix.de
> 



_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to