summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-09-06 18:56:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-07 14:36:30 +0100
commit1584613ca8e7dce3d0c279147782916289416dce (patch)
tree20caf6e564a19d9a5e7d6ea99f517368a6ac154c /meta/recipes-connectivity/openssl
parent6ac5b545f27fe5ebaff55e34f8d8063f5cd9afd3 (diff)
downloadpoky-1584613ca8e7dce3d0c279147782916289416dce.tar.gz
openssl: build and install manpages only if they are enabled
This significantly speeds up the build by default. (From OE-Core rev: 2b5ee583c62dbe381cd429da14ecbba5ea32d506) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl')
-rw-r--r--meta/recipes-connectivity/openssl/openssl_3.1.2.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_3.1.2.bb b/meta/recipes-connectivity/openssl/openssl_3.1.2.bb
index 817bfedee1..3f77c218c8 100644
--- a/meta/recipes-connectivity/openssl/openssl_3.1.2.bb
+++ b/meta/recipes-connectivity/openssl/openssl_3.1.2.bb
@@ -20,7 +20,7 @@ SRC_URI:append:class-nativesdk = " \
20 20
21SRC_URI[sha256sum] = "a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539" 21SRC_URI[sha256sum] = "a0ce69b8b97ea6a35b96875235aa453b966ba3cba8af2de23657d8b6767d6539"
22 22
23inherit lib_package multilib_header multilib_script ptest perlnative 23inherit lib_package multilib_header multilib_script ptest perlnative manpages
24MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash" 24MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
25 25
26PACKAGECONFIG ?= "" 26PACKAGECONFIG ?= ""
@@ -30,6 +30,7 @@ PACKAGECONFIG:class-nativesdk = ""
30PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module" 30PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module"
31PACKAGECONFIG[no-tls1] = "no-tls1" 31PACKAGECONFIG[no-tls1] = "no-tls1"
32PACKAGECONFIG[no-tls1_1] = "no-tls1_1" 32PACKAGECONFIG[no-tls1_1] = "no-tls1_1"
33PACKAGECONFIG[manpages] = ""
33 34
34B = "${WORKDIR}/build" 35B = "${WORKDIR}/build"
35do_configure[cleandirs] = "${B}" 36do_configure[cleandirs] = "${B}"
@@ -145,7 +146,7 @@ do_configure () {
145} 146}
146 147
147do_install () { 148do_install () {
148 oe_runmake DESTDIR="${D}" MANDIR="${mandir}" MANSUFFIX=ssl install 149 oe_runmake DESTDIR="${D}" MANDIR="${mandir}" MANSUFFIX=ssl install_sw install_ssldirs ${@bb.utils.contains('PACKAGECONFIG', 'manpages', 'install_docs', '', d)}
149 150
150 oe_multilib_header openssl/opensslconf.h 151 oe_multilib_header openssl/opensslconf.h
151 oe_multilib_header openssl/configuration.h 152 oe_multilib_header openssl/configuration.h