linux-4.18.y: Avoid compilation error

This error only appears when the build host does not have the openssl
development libraries (libssl-dev) installed. If they are, the build
process will use them.

The error is:

|
/home/builder/jenkins/workspace/dey-rocko-use-mainline-bsp/projects/ccimx6ulsbc/tmp/work-shared/ccimx6ulsbc/kernel-source/scripts/extract-cert.c:21:25:
fatal error: openssl/bio.h: No such file or directory
| compilation terminated.
| scripts/Makefile.host:90: recipe for target 'scripts/extract-cert'
failed
| make[3]: *** [scripts/extract-cert] Error 1
| make[3]: *** Waiting for unfinished jobs....

This commit makes openssl-native a dependency and passes the include
path to the build.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2018-10-31 19:12:03 +01:00
parent c35ba5e760
commit 14a68356f3
1 changed files with 3 additions and 0 deletions

View File

@ -5,4 +5,7 @@ require recipes-kernel/linux/linux-dey.inc
SRCBRANCH = "v4.18.y"
SRCREV = "${AUTOREV}"
DEPENDS += "openssl-native"
HOST_EXTRACFLAGS += "-I${STAGING_INCDIR_NATIVE}"
COMPATIBLE_MACHINE = "(ccimx6ul)"