mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v2 1/2] cxxtools: Add host package
@ 2014-02-18  7:09 Bernhard Sessler
  2014-02-18  7:09 ` [ptxdist] [PATCH v2 2/2] tntnet: " Bernhard Sessler
  2014-02-18  7:21 ` [ptxdist] [PATCH v2 1/2] cxxtools: " Michael Olbrich
  0 siblings, 2 replies; 4+ messages in thread
From: Bernhard Sessler @ 2014-02-18  7:09 UTC (permalink / raw)
  To: ptxdist

Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
---
 rules/host-cxxtools.in   |  6 ++++++
 rules/host-cxxtools.make | 38 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)
 create mode 100644 rules/host-cxxtools.in
 create mode 100644 rules/host-cxxtools.make

diff --git a/rules/host-cxxtools.in b/rules/host-cxxtools.in
new file mode 100644
index 0000000..b597311
--- /dev/null
+++ b/rules/host-cxxtools.in
@@ -0,0 +1,6 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_CXXTOOLS
+	tristate
+	default ALLYES
diff --git a/rules/host-cxxtools.make b/rules/host-cxxtools.make
new file mode 100644
index 0000000..abf93ca
--- /dev/null
+++ b/rules/host-cxxtools.make
@@ -0,0 +1,38 @@
+# -*-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_CXXTOOLS) += host-cxxtools
+
+#
+# Paths and names
+#
+HOST_CXXTOOLS_VERSION	:= 2.2.1
+HOST_CXXTOOLS_MD5		:= aab00068ae5237435b37ac86f2ac7576
+HOST_CXXTOOLS		:= cxxtools-$(HOST_CXXTOOLS_VERSION)
+HOST_CXXTOOLS_SUFFIX	:= tar.gz
+HOST_CXXTOOLS_URL		:= http://www.tntnet.org/download/$(HOST_CXXTOOLS).$(HOST_CXXTOOLS_SUFFIX)
+HOST_CXXTOOLS_SOURCE	:= $(SRCDIR)/$(HOST_CXXTOOLS).$(HOST_CXXTOOLS_SUFFIX)
+HOST_CXXTOOLS_DIR		:= $(HOST_BUILDDIR)/$(HOST_CXXTOOLS)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_CXXTOOLS_CONF_TOOL	:= autoconf
+HOST_CXXTOOLS_CONF_OPT	:= \
+	$(HOST_AUTOCONF) \
+	--disable-dependency-tracking \
+	--disable-unittest \
+	--disable-demos
+
+# vim: syntax=make
-- 
1.8.3.2


-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ptxdist] [PATCH v2 2/2] tntnet: Add host package
  2014-02-18  7:09 [ptxdist] [PATCH v2 1/2] cxxtools: Add host package Bernhard Sessler
@ 2014-02-18  7:09 ` Bernhard Sessler
  2014-02-18  7:21 ` [ptxdist] [PATCH v2 1/2] cxxtools: " Michael Olbrich
  1 sibling, 0 replies; 4+ messages in thread
From: Bernhard Sessler @ 2014-02-18  7:09 UTC (permalink / raw)
  To: ptxdist

This host package builds the tntnet SDK, which is required in order
to generate the pre-compiled C++ modules.

Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
---
 rules/host-tntnet.in   |  8 ++++++++
 rules/host-tntnet.make | 44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 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..9582797
--- /dev/null
+++ b/rules/host-tntnet.in
@@ -0,0 +1,8 @@
+## SECTION=hosttools_noprompt
+## SECTION=hosttools_platform
+
+config HOST_TNTNET
+	tristate
+	default ALLYES
+	select HOST_ZLIB
+	select HOST_CXXTOOLS
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)
+
+# ----------------------------------------------------------------------------
+# 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH v2 1/2] cxxtools: Add host package
  2014-02-18  7:09 [ptxdist] [PATCH v2 1/2] cxxtools: Add host package Bernhard Sessler
  2014-02-18  7:09 ` [ptxdist] [PATCH v2 2/2] tntnet: " Bernhard Sessler
@ 2014-02-18  7:21 ` Michael Olbrich
  2014-02-18  7:41   ` Bernhard Seßler
  1 sibling, 1 reply; 4+ messages in thread
From: Michael Olbrich @ 2014-02-18  7:21 UTC (permalink / raw)
  To: ptxdist

On Tue, Feb 18, 2014 at 08:09:17AM +0100, Bernhard Sessler wrote:
> Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
> ---
>  rules/host-cxxtools.in   |  6 ++++++
>  rules/host-cxxtools.make | 38 ++++++++++++++++++++++++++++++++++++++
>  2 files changed, 44 insertions(+)
>  create mode 100644 rules/host-cxxtools.in
>  create mode 100644 rules/host-cxxtools.make
> 
> diff --git a/rules/host-cxxtools.in b/rules/host-cxxtools.in
> new file mode 100644
> index 0000000..b597311
> --- /dev/null
> +++ b/rules/host-cxxtools.in
> @@ -0,0 +1,6 @@
> +## SECTION=hosttools_noprompt
> +## SECTION=hosttools_platform

Don't add this to hosttools_platform.

> +
> +config HOST_CXXTOOLS
> +	tristate
> +	default ALLYES
> diff --git a/rules/host-cxxtools.make b/rules/host-cxxtools.make
> new file mode 100644
> index 0000000..abf93ca
> --- /dev/null
> +++ b/rules/host-cxxtools.make
> @@ -0,0 +1,38 @@
> +# -*-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_CXXTOOLS) += host-cxxtools
> +
> +#
> +# Paths and names
> +#
> +HOST_CXXTOOLS_VERSION	:= 2.2.1
> +HOST_CXXTOOLS_MD5		:= aab00068ae5237435b37ac86f2ac7576
> +HOST_CXXTOOLS		:= cxxtools-$(HOST_CXXTOOLS_VERSION)
> +HOST_CXXTOOLS_SUFFIX	:= tar.gz
> +HOST_CXXTOOLS_URL		:= http://www.tntnet.org/download/$(HOST_CXXTOOLS).$(HOST_CXXTOOLS_SUFFIX)
> +HOST_CXXTOOLS_SOURCE	:= $(SRCDIR)/$(HOST_CXXTOOLS).$(HOST_CXXTOOLS_SUFFIX)
> +HOST_CXXTOOLS_DIR		:= $(HOST_BUILDDIR)/$(HOST_CXXTOOLS)

Only
HOST_CXXTOOLS_DIR	= $(HOST_BUILDDIR)/$(CXXTOOLS)
please. The rest is taken from the target package.

All my comments apply to host-tntnet as well.

Michael

> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +HOST_CXXTOOLS_CONF_TOOL	:= autoconf
> +HOST_CXXTOOLS_CONF_OPT	:= \
> +	$(HOST_AUTOCONF) \
> +	--disable-dependency-tracking \
> +	--disable-unittest \
> +	--disable-demos
> +
> +# 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] [PATCH v2 1/2] cxxtools: Add host package
  2014-02-18  7:21 ` [ptxdist] [PATCH v2 1/2] cxxtools: " Michael Olbrich
@ 2014-02-18  7:41   ` Bernhard Seßler
  0 siblings, 0 replies; 4+ messages in thread
From: Bernhard Seßler @ 2014-02-18  7:41 UTC (permalink / raw)
  To: ptxdist

Hi,

On 18.02.2014 08:21, Michael Olbrich wrote:
> On Tue, Feb 18, 2014 at 08:09:17AM +0100, Bernhard Sessler wrote:
>> Signed-off-by: Bernhard Sessler <bernhard.sessler@corscience.de>
>> ---
>>  rules/host-cxxtools.in   |  6 ++++++
>>  rules/host-cxxtools.make | 38 ++++++++++++++++++++++++++++++++++++++
>>  2 files changed, 44 insertions(+)
>>  create mode 100644 rules/host-cxxtools.in
>>  create mode 100644 rules/host-cxxtools.make
>> 
>> diff --git a/rules/host-cxxtools.in b/rules/host-cxxtools.in
>> new file mode 100644
>> index 0000000..b597311
>> --- /dev/null
>> +++ b/rules/host-cxxtools.in
>> @@ -0,0 +1,6 @@
>> +## SECTION=hosttools_noprompt
>> +## SECTION=hosttools_platform
> 
> Don't add this to hosttools_platform.
> 
>> +
>> +config HOST_CXXTOOLS
>> +	tristate
>> +	default ALLYES
>> diff --git a/rules/host-cxxtools.make b/rules/host-cxxtools.make
>> new file mode 100644
>> index 0000000..abf93ca
>> --- /dev/null
>> +++ b/rules/host-cxxtools.make
>> @@ -0,0 +1,38 @@

<snip>

>> +#
>> +# Paths and names
>> +#
>> +HOST_CXXTOOLS_VERSION	:= 2.2.1
>> +HOST_CXXTOOLS_MD5		:= aab00068ae5237435b37ac86f2ac7576
>> +HOST_CXXTOOLS		:= cxxtools-$(HOST_CXXTOOLS_VERSION)
>> +HOST_CXXTOOLS_SUFFIX	:= tar.gz
>> +HOST_CXXTOOLS_URL		:= http://www.tntnet.org/download/$(HOST_CXXTOOLS).$(HOST_CXXTOOLS_SUFFIX)
>> +HOST_CXXTOOLS_SOURCE	:= $(SRCDIR)/$(HOST_CXXTOOLS).$(HOST_CXXTOOLS_SUFFIX)
>> +HOST_CXXTOOLS_DIR		:= $(HOST_BUILDDIR)/$(HOST_CXXTOOLS)
> 
> Only
> HOST_CXXTOOLS_DIR	= $(HOST_BUILDDIR)/$(CXXTOOLS)
> please. The rest is taken from the target package.
> 
> All my comments apply to host-tntnet as well.
> 
> Michael
> 

A new patchset is on the way

>> +
>> +# ----------------------------------------------------------------------------
>> +# Prepare
>> +# ----------------------------------------------------------------------------
>> +
>> +HOST_CXXTOOLS_CONF_TOOL	:= autoconf
>> +HOST_CXXTOOLS_CONF_OPT	:= \
>> +	$(HOST_AUTOCONF) \
>> +	--disable-dependency-tracking \
>> +	--disable-unittest \
>> +	--disable-demos
>> +
>> +# vim: syntax=make
>> -- 
>> 1.8.3.2
>> 
>> 
>> -- 
>> ptxdist mailing list
>> ptxdist@pengutronix.de
> 

Regards,
Bernhard

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-18  7:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-18  7:09 [ptxdist] [PATCH v2 1/2] cxxtools: Add host package Bernhard Sessler
2014-02-18  7:09 ` [ptxdist] [PATCH v2 2/2] tntnet: " Bernhard Sessler
2014-02-18  7:21 ` [ptxdist] [PATCH v2 1/2] cxxtools: " Michael Olbrich
2014-02-18  7:41   ` Bernhard Seßler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox