summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl-1.0.2o/0001-allow-manpages-to-be-disabled.patch
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2018-07-28 13:39:22 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-29 15:23:50 +0100
commit6b3f4c8a661f67387a3716905c767375ff7ce0bd (patch)
tree3d2f4f1059c9c2f1676b1bfdd2c05ff6f0136bb2 /meta/recipes-connectivity/openssl/openssl-1.0.2o/0001-allow-manpages-to-be-disabled.patch
parentd62b399d6fb6c2301864d6d0c131ecccc810cdf9 (diff)
downloadpoky-6b3f4c8a661f67387a3716905c767375ff7ce0bd.tar.gz
openssl_1.0: add PACKAGECONFIG option to control manpages
Creating the openssl manpages, which happens as part of do_install(), can take a significant amount of time (e.g. ~50 seconds on a quad core laptop). Provide a PACKAGECONFIG option to allow creation of the manpages to be skipped completely if not required and inherit the manpages class to automatically control the PACKAGECONFIG option (based on the "api-documentation" distro feature). (From OE-Core rev: 1ddca1872f64c566fd812a6ec44f2d4e4d84f58f) (From OE-Core rev: 061c17ff22f4df573bccbf4b66f2fdf5501c3617) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl-1.0.2o/0001-allow-manpages-to-be-disabled.patch')
-rw-r--r--meta/recipes-connectivity/openssl/openssl-1.0.2o/0001-allow-manpages-to-be-disabled.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl-1.0.2o/0001-allow-manpages-to-be-disabled.patch b/meta/recipes-connectivity/openssl/openssl-1.0.2o/0001-allow-manpages-to-be-disabled.patch
new file mode 100644
index 0000000000..3f7d649955
--- /dev/null
+++ b/meta/recipes-connectivity/openssl/openssl-1.0.2o/0001-allow-manpages-to-be-disabled.patch
@@ -0,0 +1,31 @@
1From e1c39b80b01d4d18feeadfdc6e45a3e1dd110634 Mon Sep 17 00:00:00 2001
2From: Andre McCurdy <armccurdy@gmail.com>
3Date: Fri, 27 Jul 2018 21:41:06 +0000
4Subject: [PATCH] allow manpages to be disabled
5
6Define OE_DISABLE_MANPAGES (via environment or the make command line)
7to skip creation and installation of manpages.
8
9Upstream-Status: Inappropriate [configuration]
10
11Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
12---
13 Makefile.org | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/Makefile.org b/Makefile.org
17index ed98d2a..747d8cb 100644
18--- a/Makefile.org
19+++ b/Makefile.org
20@@ -549,7 +549,7 @@ dist:
21 @$(MAKE) SDIRS='$(SDIRS)' clean
22 @$(MAKE) TAR='$(TAR)' TARFLAGS='$(TARFLAGS)' $(DISTTARVARS) tar
23
24-install: all install_docs install_sw
25+install: all $(if $(OE_DISABLE_MANPAGES),,install_docs) install_sw
26
27 install_sw:
28 @$(PERL) $(TOP)/util/mkdir-p.pl $(INSTALL_PREFIX)$(INSTALLTOP)/bin \
29--
301.9.1
31