mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
openssl10: modified the define cryptodev
Use PACKAGECONFIG to add cryptodev. (From OE-Core rev: dddf15804f69757278abe175543e74332a978139) Signed-off-by: Huang Qiyu <huangqy.fnst@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a964a54ebf
commit
73a43b3ecc
@@ -15,7 +15,9 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
|
|||||||
"
|
"
|
||||||
S = "${WORKDIR}/openssl-${PV}"
|
S = "${WORKDIR}/openssl-${PV}"
|
||||||
|
|
||||||
|
PACKAGECONFIG ?= "cryptodev-linux"
|
||||||
PACKAGECONFIG[perl] = ",,,"
|
PACKAGECONFIG[perl] = ",,,"
|
||||||
|
PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS,,cryptodev-linux"
|
||||||
|
|
||||||
TERMIO_libc-musl = "-DTERMIOS"
|
TERMIO_libc-musl = "-DTERMIOS"
|
||||||
TERMIO ?= "-DTERMIO"
|
TERMIO ?= "-DTERMIO"
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ require openssl10.inc
|
|||||||
|
|
||||||
# For target side versions of openssl enable support for OCF Linux driver
|
# For target side versions of openssl enable support for OCF Linux driver
|
||||||
# if they are available.
|
# if they are available.
|
||||||
DEPENDS += "cryptodev-linux"
|
|
||||||
|
|
||||||
CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
|
CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
|
||||||
CFLAG_append_class-native = " -fPIC"
|
CFLAG_append_class-native = " -fPIC"
|
||||||
|
|||||||
Reference in New Issue
Block a user