mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] tntnet: Add host package
Date: Tue, 11 Feb 2014 12:02:33 +0100	[thread overview]
Message-ID: <20140211110233.GB29011@pengutronix.de> (raw)
In-Reply-To: <1391604165-26122-1-git-send-email-bernhard.sessler@corscience.de>

On Wed, Feb 05, 2014 at 01:42:45PM +0100, Bernhard Sessler wrote:
> This host package builds the tntnet SDK, which is required in order
> to generate the pre-compiled C++ modules.

So this will be used to build an application that uses tntnet, right?

Btw this won't compile without cxxtools, so you need to add a host package
for that as well.

Michael

> Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
> ---
>  rules/host-tntnet.in   |  9 +++++++++
>  rules/host-tntnet.make | 44 ++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 53 insertions(+)
>  create mode 100644 rules/host-tntnet.in
>  create mode 100644 rules/host-tntnet.make
> 
> diff --git a/rules/host-tntnet.in b/rules/host-tntnet.in
> new file mode 100644
> index 0000000..dafa4bf
> --- /dev/null
> +++ b/rules/host-tntnet.in
> @@ -0,0 +1,9 @@
> +## SECTION=hosttools_noprompt
> +## SECTION=hosttools_platform

no need to add hosttools_platform. That is only used for packages that are
also selected in the platformconfig

> +
> +config HOST_TNTNET
> +	tristate
> +	default ALLYES
> +	select HOST_ZLIB
> +	help
> +	  web application server for c++

You can drop the help here. It's not visible anyways.

> diff --git a/rules/host-tntnet.make b/rules/host-tntnet.make
> new file mode 100644
> index 0000000..53aee1a
> --- /dev/null
> +++ b/rules/host-tntnet.make
> @@ -0,0 +1,44 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2014 by Bernhard Seßler <bernhard.sessler@corscience.de>
> +#
> +# 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_TNTNET) += host-tntnet
> +
> +#
> +# Paths and names
> +#
> +HOST_TNTNET_VERSION	:= 2.2.1
> +HOST_TNTNET_MD5		:= febe799675c1b8b2f7259bad30cf6f23
> +HOST_TNTNET		:= tntnet-$(HOST_TNTNET_VERSION)
> +HOST_TNTNET_SUFFIX	:= tar.gz
> +HOST_TNTNET_URL		:= http://www.tntnet.org/download/$(HOST_TNTNET).$(HOST_TNTNET_SUFFIX)
> +HOST_TNTNET_SOURCE	:= $(SRCDIR)/$(HOST_TNTNET).$(HOST_TNTNET_SUFFIX)
> +HOST_TNTNET_DIR		:= $(HOST_BUILDDIR)/$(HOST_TNTNET)


This should not be necessary. Host packages define those from the
corresponding target package. You should only need:

HOST_TNTNET_DIR		:= $(HOST_BUILDDIR)/$(TNTNET)

Michael

> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_TNTNET_CONF_TOOL	:= autoconf
> +HOST_TNTNET_CONF_OPT	:= \
> +	$(HOST_AUTOCONF) \
> +	--disable-dependency-tracking \
> +	--disable-unittest \
> +	--with-demos=no \
> +	--with-epoll=no \
> +	--with-sdk=yes \
> +	--with-sendfile=no \
> +	--with-server=no \
> +	--with-ssl=no \
> +	--with-stressjob=no
> +
> +# vim: syntax=make
> -- 
> 1.8.3.2
> 
> 
> -- 
> 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	other threads:[~2014-02-11 11:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-05 12:42 Bernhard Sessler
2014-02-11 11:02 ` Michael Olbrich [this message]
2014-02-11 11:23   ` Juergen Beisert
2014-02-11 11:32     ` Michael Olbrich
2014-02-17  6:57       ` Bernhard Seßler
2014-02-18  7:13   ` Bernhard Seßler
2014-02-12  8:55 ` Michael Olbrich
2014-02-12  8:57   ` Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140211110233.GB29011@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox