summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-07-05 15:13:07 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-07-05 15:17:09 +0200
commit7907d4dc43e6c20394dd73f0e39169e195b696cf (patch)
tree9906f8a4fecf22d2c2d6104ebe1f57b1d8fc7a5d
parent27eee55a593c900a94088963d4ea491f8b40d11d (diff)
downloadOSELAS.Toolchain-7907d4dc43e6c20394dd73f0e39169e195b696cf.tar.gz
OSELAS.Toolchain-7907d4dc43e6c20394dd73f0e39169e195b696cf.tar.xz
host-system-openssl: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-system-openssl.in4
-rw-r--r--rules/host-system-openssl.make27
2 files changed, 31 insertions, 0 deletions
diff --git a/rules/host-system-openssl.in b/rules/host-system-openssl.in
new file mode 100644
index 0000000..b602ec1
--- /dev/null
+++ b/rules/host-system-openssl.in
@@ -0,0 +1,4 @@
+## SECTION=hosttools_noprompt
+
+config HOST_SYSTEM_OPENSSL
+ tristate
diff --git a/rules/host-system-openssl.make b/rules/host-system-openssl.make
new file mode 100644
index 0000000..e1f30a4
--- /dev/null
+++ b/rules/host-system-openssl.make
@@ -0,0 +1,27 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2021 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_SYSTEM_OPENSSL) += host-system-openssl
+HOST_SYSTEM_OPENSSL_LICENSE := ignore
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-system-openssl.prepare:
+ @$(call targetinfo)
+ @echo "Checking for openssl ..."
+ @pkg-config openssl || \
+ ptxd_bailout "openssl development files not found!" \
+ "Please install libssl-dev (debian) or openssl-devel (fedora)"
+ @$(call touch)
+
+# vim: syntax=make