On Mon, Apr 25, 2011 at 01:14:21PM -0500, George McCollister wrote:
> openssl is used to sign the Packages file in the ipkg-repository.

Comments below.

> Signed-off-by: George McCollister <george.mccollis...@gmail.com>
> ---
>  platforms/hosttools.in  |    1 +
>  rules/host-openssl.in   |    5 +++++
>  rules/host-openssl.make |   45 +++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 51 insertions(+), 0 deletions(-)
>  create mode 100644 rules/host-openssl.in
>  create mode 100644 rules/host-openssl.make
> 
> diff --git a/platforms/hosttools.in b/platforms/hosttools.in
> index bb259aa..5137eea 100644
> --- a/platforms/hosttools.in
> +++ b/platforms/hosttools.in
> @@ -15,6 +15,7 @@ source "rules/host-libuuid.in"
>  source "rules/host-lzop.in"
>  source "rules/host-mkelfImage.in"
>  source "rules/host-mtd-utils.in"
> +source "rules/host-openssl.in"
>  source "rules/host-squashfs-tools.in"
>  source "rules/host-umkimage.in"
>  source "rules/host-util-linux-ng.in"
> diff --git a/rules/host-openssl.in b/rules/host-openssl.in
> new file mode 100644
> index 0000000..33a3862
> --- /dev/null
> +++ b/rules/host-openssl.in
> @@ -0,0 +1,5 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_OPENSSL
> +     tristate
> +     default ALLYES
> diff --git a/rules/host-openssl.make b/rules/host-openssl.make
> new file mode 100644
> index 0000000..071b350
> --- /dev/null
> +++ b/rules/host-openssl.make
> @@ -0,0 +1,45 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2011 by George McCollister <george.mccollis...@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)

The '=' should be aligned.

> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +
> +HOST_OPENSSL_CONF_ENV        := $(HOST_ENV)
> +HOST_OPENSSL_MAKE_PAR := NO

dito

> +
> +#
> +# autoconf
> +#
> +HOST_OPENSSL_CONF_OPT := \
> +     --prefix=/ \
> +     --install_prefix=$(HOST_OPENSSL_PKGDIR)
> +

Please add a comment here, why config is used instead of Configure.

Michael

> +$(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
> -- 
> 1.7.1
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to