summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-04-03 11:58:23 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-04-03 11:58:23 +0000
commit110ec50db6660a6736044bb072151f65dc8b07d0 (patch)
tree1e25f13ecf77df25119c064add0713fe163092fe
parent90404a1d4415cf355eeff8b49ca933f5df7d8ed8 (diff)
downloadptxdist-110ec50db6660a6736044bb072151f65dc8b07d0.tar.gz
ptxdist-110ec50db6660a6736044bb072151f65dc8b07d0.tar.xz
[openssl] Added openssl command line interface.
Added to installation cli for openssl. Author: Andreas Ascheneller <a.ascheneller@konzeptpark.de> Signed-off-by: Andreas Ascheneller <a.ascheneller@konzeptpark.de> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10213 33e552b5-05e3-0310-8538-816dae2090ed
-rw-r--r--rules/openssl.in7
-rw-r--r--rules/openssl.make4
2 files changed, 11 insertions, 0 deletions
diff --git a/rules/openssl.in b/rules/openssl.in
index f9b716903..863461eb8 100644
--- a/rules/openssl.in
+++ b/rules/openssl.in
@@ -8,6 +8,13 @@ menuconfig OPENSSL
and Transport Layer Security (TLS v1) protocols as well
as a full-strength general purpose cryptography library.
+config OPENSSL_BIN
+ bool "build openssl tools"
+ default y
+ depends on OPENSSL
+ help
+ Whether to build and install OpenSSL binary.
+
config OPENSSL_SHARED
bool "build shared lib"
default y
diff --git a/rules/openssl.make b/rules/openssl.make
index 0a897b8de..0ec1091c7 100644
--- a/rules/openssl.make
+++ b/rules/openssl.make
@@ -150,6 +150,10 @@ $(STATEDIR)/openssl.targetinstall:
@$(call install_fixup, openssl,DEPENDS,)
@$(call install_fixup, openssl,DESCRIPTION,missing)
+ifdef PTXCONF_OPENSSL_BIN
+ @$(call install_copy, openssl, 0, 0, 0755, $(OPENSSL_DIR)/apps/openssl, /usr/bin/openssl)
+endif
+
ifdef PTXCONF_OPENSSL_SHARED
@$(call install_copy, openssl, 0, 0, 0644, $(OPENSSL_DIR)/libssl.so.0.9.7, /usr/lib/libssl.so.0.9.7)
@$(call install_link, openssl, libssl.so.0.9.7, /usr/lib/libssl.so.0)