diff options
author | George McCollister <george.mccollister@gmail.com> | 2011-04-28 16:13:31 -0500 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2011-04-29 09:53:14 +0200 |
commit | 68f1461cb3101bef1c33ada4eae9d400588f1d3d (patch) | |
tree | 82c985de7032686c8770bf76134d234941bfd0ce /rules/host-openssl.make | |
parent | a621d0f4053dcefd220b94ab60177e06001aa139 (diff) | |
download | ptxdist-68f1461cb3101bef1c33ada4eae9d400588f1d3d.tar.gz ptxdist-68f1461cb3101bef1c33ada4eae9d400588f1d3d.tar.xz |
host-openssl: added for ipkg-repository signing
openssl is used to sign the Packages file in the ipkg-repository.
Signed-off-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-openssl.make')
-rw-r--r-- | rules/host-openssl.make | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/rules/host-openssl.make b/rules/host-openssl.make new file mode 100644 index 000000000..3349c9b6f --- /dev/null +++ b/rules/host-openssl.make @@ -0,0 +1,52 @@ +# -*-makefile-*- +# +# Copyright (C) 2011 by George McCollister <george.mccollister@gmail.com> +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# + +# +HOST_PACKAGES-$(PTXCONF_HOST_OPENSSL) += host-openssl + +# +# Paths and names +# +HOST_OPENSSL = $(OPENSSL) +HOST_OPENSSL_DIR = $(HOST_BUILDDIR)/$(HOST_OPENSSL) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +HOST_OPENSSL_CONF_ENV := $(HOST_ENV) +HOST_OPENSSL_MAKE_PAR := NO + +# +# autoconf +# +HOST_OPENSSL_CONF_OPT := \ + --prefix=/ \ + --install_prefix=$(HOST_OPENSSL_PKGDIR) + +# +# Follow the directions in INSTALL section 1a. +# Configure OpenSSL for your operation system automatically +# +# I see no reason to follow the instructions for manual configuration +# on the host, to do that we need to specify an architecture type. +# +$(STATEDIR)/host-openssl.prepare: + @$(call targetinfo) + cd $(HOST_OPENSSL_DIR) && \ + $(HOST_OPENSSL_PATH) $(HOST_OPENSSL_CONF_ENV) \ + ./config $(HOST_OPENSSL_CONF_OPT) + @$(call touch) + +# vim: syntax=make |