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 1/2] host-pyhton-scons: add new package
Date: Mon, 7 Jan 2019 16:16:06 +0100	[thread overview]
Message-ID: <20190107151606.ya5ubwi2jlxodwbw@pengutronix.de> (raw)
In-Reply-To: <20190104081035.13155-2-Denis.Osterland@diehl.com>

On Fri, Jan 04, 2019 at 08:11:58AM +0000, Denis OSTERLAND wrote:
> This patch adds support for scons build system.
> https://scons.org/
> 
> Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
> ---
>  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 000000000..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 000000000..8fd42a41f
> --- /dev/null
> +++ b/rules/host-python-scons.make
> @@ -0,0 +1,35 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2019 by Denis Osterland <Denis.Osterland@diehl.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_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-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2019-01-07 15:16 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-04  8:11 [ptxdist] [PATCH 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-04  8:11 ` [ptxdist] [PATCH 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-07 15:16   ` Michael Olbrich [this message]
2019-01-08  7:21     ` Denis OSTERLAND
2019-01-04  8:11 ` [ptxdist] [PATCH 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-08  7:37 ` [ptxdist] [PATCH v2 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-08  7:37   ` [ptxdist] [PATCH v2 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-08  7:37   ` [ptxdist] [PATCH v2 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-15  8:17   ` [ptxdist] [PATCH v3 0/2] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-15  8:17     ` [ptxdist] [PATCH v3 1/2] host-pyhton-scons: add new package Denis OSTERLAND
2019-01-16 15:35       ` Michael Olbrich
2019-01-17 10:53         ` Denis OSTERLAND
2019-01-18  9:05           ` Denis OSTERLAND
2019-01-18 10:38             ` Michael Olbrich
2019-01-17 13:31       ` Roland Hieber
2019-01-15  8:17     ` [ptxdist] [PATCH v3 2/2] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-01-21 12:01     ` [ptxdist] [PATCH v4 0/3] update gpsd and switch to scons build system Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 1/3] rules: install to sysroot-host/bin with HOST_PYTHON and HOST_SYSTEM_PYTHON Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 3/3] gpsd: version bump 2.39 -> 3.18.1 Denis OSTERLAND
2019-02-05  9:07         ` Michael Olbrich
2019-02-05  9:46           ` Denis OSTERLAND
2019-02-05 11:58             ` Michael Olbrich
2019-04-17 10:38             ` Alexander Dahl
2019-04-17 14:02               ` Denis OSTERLAND
2019-01-21 12:01       ` [ptxdist] [PATCH v4 2/3] host-python-scons: add new package Denis OSTERLAND

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=20190107151606.ya5ubwi2jlxodwbw@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