Because according to the other Distros,cryptodev is not enabled. If users want enable cryptodev, just have to add "cryptodev-linux" into PACKAGECONFIG.
Signed-off-by: Huang Qiyu <[email protected]> --- meta/recipes-connectivity/openssl/openssl_1.0.2l.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb b/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb index c00dd81..7c8f18b 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.0.2l.bb @@ -2,10 +2,8 @@ require openssl.inc # For target side versions of openssl enable support for OCF Linux driver # if they are available. -PACKAGECONFIG[cryptodev-linux] = ",,cryptodev-linux" -DEPENDS += "${@bb.utils.contains('PACKAGECONFIG', 'cryptodev-linux', 'cryptodev-linux', '', d)}" - -CFLAG += "${@bb.utils.contains('PACKAGECONFIG', 'cryptodev-linux', '-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS', '', d)}" +PACKAGECONFIG[cryptodev-linux] = "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS,,cryptodev-linux" +CFLAG += "${PACKAGECONFIG_CONFARGS}" CFLAG_append_class-native = " -fPIC" -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
