summaryrefslogtreecommitdiffstats
path: root/rules/openssl.make
diff options
context:
space:
mode:
authorAlexander Aring <alex.aring@gmail.com>2015-01-28 12:23:32 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-02-04 09:58:30 +0100
commitdc81f883b6ba22dd4cc1c1fb00a893fbbfe1e29f (patch)
tree06fb8777cfae0bf6e6994e3ce4e9731da4150a81 /rules/openssl.make
parent8fdf7fbdaa089c922f9091c0f60f7bf18319c0e3 (diff)
downloadptxdist-dc81f883b6ba22dd4cc1c1fb00a893fbbfe1e29f.tar.gz
ptxdist-dc81f883b6ba22dd4cc1c1fb00a893fbbfe1e29f.tar.xz
openssl: allow to install openssl.cnf
For doing some certificates magic the openssl tool requires some openssl.cnf file. This patch adds support to install the default shipped openssl.cnf file. Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/openssl.make')
-rw-r--r--rules/openssl.make4
1 files changed, 4 insertions, 0 deletions
diff --git a/rules/openssl.make b/rules/openssl.make
index aff975b5c..71cab7736 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -101,6 +101,10 @@ ifdef PTXCONF_OPENSSL_BIN
@$(call install_copy, openssl, 0, 0, 0755, -, \
/usr/bin/openssl)
endif
+
+ @$(call install_alternative, openssl, 0, 0, 0644, \
+ /usr/lib/ssl/openssl.cnf)
+
@$(call install_lib, openssl, 0, 0, 0644, libssl)
@$(call install_lib, openssl, 0, 0, 0644, libcrypto)