Re: [ptxdist] [PATCH 1/2] host-pyhton-scons: add new package

2019-01-07 Thread Denis OSTERLAND
Am Montag, den 07.01.2019, 16:16 +0100 schrieb Michael Olbrich:
> On Fri, Jan 04, 2019 at 08:11:58AM +, Denis OSTERLAND wrote:
> > 
> > +
> > +config HOST_PYTHON_SCONS
> > +   tristate
> > +   default y if ALLYES
> > +   select HOST_PYTHON
> No. HOST_PYTHON is only there to build the target Python. Use
> HOST_SYSTEM_PYTHON instead.
> 
> Michael

Okay, will fix in v2

regards Denis

Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315
___

Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail 
enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten 
haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung 
und/oder Publikation dieser E-Mail ist strengstens untersagt.
The contents of the above mentioned e-mail is not legally binding. This e-mail 
contains confidential and/or legally protected information. Please inform us if 
you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, 
disclosure, alteration, distribution and/or publication of this e-mail is 
strictly prohibited. 
___
ptxdist mailing list
ptxdist@pengutronix.de

Re: [ptxdist] [PATCH 1/2] host-pyhton-scons: add new package

2019-01-07 Thread Michael Olbrich
On Fri, Jan 04, 2019 at 08:11:58AM +, Denis OSTERLAND wrote:
> This patch adds support for scons build system.
> https://scons.org/
> 
> Signed-off-by: Denis Osterland 
> ---
>  rules/host-python-scons.in   |  6 ++
>  rules/host-python-scons.make | 35 +++
>  2 files changed, 41 insertions(+)
>  create mode 100644 rules/host-python-scons.in
>  create mode 100644 rules/host-python-scons.make
> 
> diff --git a/rules/host-python-scons.in b/rules/host-python-scons.in
> new file mode 100644
> index 0..34bdddc0d
> --- /dev/null
> +++ b/rules/host-python-scons.in
> @@ -0,0 +1,6 @@
> +## SECTION=hosttools_noprompt
> +
> +config HOST_PYTHON_SCONS
> + tristate
> + default y if ALLYES
> + select HOST_PYTHON

No. HOST_PYTHON is only there to build the target Python. Use
HOST_SYSTEM_PYTHON instead.

Michael

> diff --git a/rules/host-python-scons.make b/rules/host-python-scons.make
> new file mode 100644
> index 0..8fd42a41f
> --- /dev/null
> +++ b/rules/host-python-scons.make
> @@ -0,0 +1,35 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2019 by Denis Osterland 
> +#
> +# 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_PYTHON_SCONS) += host-python-scons
> +
> +#
> +# Paths and names
> +#
> +HOST_PYTHON_SCONS_VERSION:= 3.0.1
> +HOST_PYTHON_SCONS_MD5:= b6a292e251b34b82c203b56cfa3968b3
> +HOST_PYTHON_SCONS:= python-scons-$(HOST_PYTHON_SCONS_VERSION)
> +HOST_PYTHON_SCONS_SUFFIX := tar.gz
> +HOST_PYTHON_SCONS_URL:= $(call ptx/mirror, SF, 
> scons/scons-$(HOST_PYTHON_SCONS_VERSION).$(HOST_PYTHON_SCONS_SUFFIX))
> +HOST_PYTHON_SCONS_SOURCE := 
> $(SRCDIR)/$(HOST_PYTHON_SCONS).$(HOST_PYTHON_SCONS_SUFFIX)
> +HOST_PYTHON_SCONS_DIR:= $(HOST_BUILDDIR)/$(HOST_PYTHON_SCONS)
> +HOST_PYTHON_SCONS_LICENSE:= MIT
> +HOST_PYTHON_SCONS_LICENSE_FILES  := 
> file://LICENSE.txt;md5=46ddf66004e5be5566367cb525a66fc6
> +
> +# 
> 
> +# Prepare
> +# 
> 
> +
> +HOST_PYTHON_SCONS_CONF_TOOL  := python
> +
> +# vim: syntax=make
> -- 
> 2.20.1
> 
> 
> 
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: HRB 32315
> ___
> 
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail 
> enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten 
> haben. Bitte loeschen Sie in diesem Fall die Nachricht.
> Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung 
> und/oder Publikation dieser E-Mail ist strengstens untersagt.
> The contents of the above mentioned e-mail is not legally binding. This 
> e-mail contains confidential and/or legally protected information. Please 
> inform us if you have received this e-mail by
> mistake and delete it in such a case. Each unauthorized reproduction, 
> disclosure, alteration, distribution and/or publication of this e-mail is 
> strictly prohibited. 
> 
> ___
> 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- |

___
ptxdist mailing list
ptxdist@pengutronix.de