diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2023-09-06 18:56:17 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2023-10-13 04:31:04 -1000 |
commit | 0a3ab977a59265fb78ec6f4750e1feae473614ab (patch) | |
tree | eb657a48fd4e1e56c0f098f5c22ff303c202dd67 | |
parent | 89007c7f4ce94378bda5eb178a173f402d0b8f2c (diff) | |
download | poky-0a3ab977a59265fb78ec6f4750e1feae473614ab.tar.gz |
openssl: build and install manpages only if they are enabled
This significantly speeds up the build by default.
(From OE-Core rev: d6f638c6ab891a4fd9db49eeb6f9b5f2b0c3bbeb)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2b5ee583c62dbe381cd429da14ecbba5ea32d506)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_3.1.3.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_3.1.3.bb b/meta/recipes-connectivity/openssl/openssl_3.1.3.bb index e41bb78812..ff9df693b8 100644 --- a/meta/recipes-connectivity/openssl/openssl_3.1.3.bb +++ b/meta/recipes-connectivity/openssl/openssl_3.1.3.bb | |||
@@ -20,7 +20,7 @@ SRC_URI:append:class-nativesdk = " \ | |||
20 | 20 | ||
21 | SRC_URI[sha256sum] = "f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6" | 21 | SRC_URI[sha256sum] = "f0316a2ebd89e7f2352976445458689f80302093788c466692fb2a188b2eacf6" |
22 | 22 | ||
23 | inherit lib_package multilib_header multilib_script ptest perlnative | 23 | inherit lib_package multilib_header multilib_script ptest perlnative manpages |
24 | MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash" | 24 | MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash" |
25 | 25 | ||
26 | PACKAGECONFIG ?= "" | 26 | PACKAGECONFIG ?= "" |
@@ -30,6 +30,7 @@ PACKAGECONFIG:class-nativesdk = "" | |||
30 | PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module" | 30 | PACKAGECONFIG[cryptodev-linux] = "enable-devcryptoeng,disable-devcryptoeng,cryptodev-linux,,cryptodev-module" |
31 | PACKAGECONFIG[no-tls1] = "no-tls1" | 31 | PACKAGECONFIG[no-tls1] = "no-tls1" |
32 | PACKAGECONFIG[no-tls1_1] = "no-tls1_1" | 32 | PACKAGECONFIG[no-tls1_1] = "no-tls1_1" |
33 | PACKAGECONFIG[manpages] = "" | ||
33 | 34 | ||
34 | B = "${WORKDIR}/build" | 35 | B = "${WORKDIR}/build" |
35 | do_configure[cleandirs] = "${B}" | 36 | do_configure[cleandirs] = "${B}" |
@@ -145,7 +146,7 @@ do_configure () { | |||
145 | } | 146 | } |
146 | 147 | ||
147 | do_install () { | 148 | do_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 |