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] host-system-python: Add python-bz2 module
Date: Thu, 4 Dec 2014 17:30:16 +0100	[thread overview]
Message-ID: <20141204163016.GF16181@pengutronix.de> (raw)
In-Reply-To: <1417617512-27367-1-git-send-email-mpa@pengutronix.de>

On Wed, Dec 03, 2014 at 03:38:32PM +0100, Markus Pargmann wrote:
> Signed-off-by: Markus Pargmann <mpa@pengutronix.de>

Thanks, applied.

Michael

> ---
>  rules/host-system-python.in   | 3 +++
>  rules/host-system-python.make | 6 ++++++
>  2 files changed, 9 insertions(+)
> 
> diff --git a/rules/host-system-python.in b/rules/host-system-python.in
> index 064f3e0422fb..300b078e7f19 100644
> --- a/rules/host-system-python.in
> +++ b/rules/host-system-python.in
> @@ -11,4 +11,7 @@ config HOST_SYSTEM_PYTHON_XML2
>  config HOST_SYSTEM_PYTHON_ARGPARSE
>  	bool
>  
> +config HOST_SYSTEM_PYTHON_BZ2
> +	bool
> +
>  endif
> diff --git a/rules/host-system-python.make b/rules/host-system-python.make
> index 6edccab8132c..84be5b2dde2e 100644
> --- a/rules/host-system-python.make
> +++ b/rules/host-system-python.make
> @@ -34,6 +34,12 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON_ARGPARSE
>  		ptxd_bailout "Python argparse module not found! \
>  	Please install python-argparse (debian)";
>  endif
> +ifdef PTXCONF_HOST_SYSTEM_PYTHON_BZ2
> +	@echo "Checking for Python bz2 ..."
> +	@python -c 'import bz2' 2>/dev/null || \
> +		ptxd_bailout "Python bz2 module not found! \
> +	Please install python-bz2";
> +endif
>  	@echo
>  	@$(call touch)
>  
> -- 
> 2.1.3
> 
> 
> -- 
> 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-12-04 16:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-03 14:38 Markus Pargmann
2014-12-04 16:30 ` Michael Olbrich [this message]

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=20141204163016.GF16181@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