Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] xen: Ensure host Python2 is used
Date: Sat, 13 Aug 2016 13:20:43 +0200	[thread overview]
Message-ID: <20160813112043.GA5734@free.fr> (raw)
In-Reply-To: <1471041006-26425-1-git-send-email-alistair.francis@xilinx.com>

Alistair, All,

On 2016-08-12 15:30 -0700, Alistair Francis spake thusly:
> To avoid Xen build issues ensure that host Python 2 is used.
> 
> Signed-off-by: Alistair Francis <alistair.francis@xilinx.com>

Wee! Works:
    python2... /home/ymorin/dev/buildroot/O/host/usr/bin/python2
    checking for python version >= 2.3 ... yes

Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/xen/xen.mk | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/package/xen/xen.mk b/package/xen/xen.mk
> index 759667a..e2abf25 100644
> --- a/package/xen/xen.mk
> +++ b/package/xen/xen.mk
> @@ -8,6 +8,7 @@ XEN_VERSION = 4.6.0
>  XEN_SITE = http://bits.xensource.com/oss-xen/release/$(XEN_VERSION)
>  XEN_LICENSE = GPLv2
>  XEN_LICENSE_FILES = COPYING
> +XEN_DEPENDENCIES = host-python
>  
>  # Calculate XEN_ARCH
>  ifeq ($(ARCH),aarch64)
> @@ -17,6 +18,8 @@ XEN_ARCH = arm32
>  endif
>  
>  XEN_CONF_OPTS = --disable-ocamltools
> +
> +XEN_CONF_ENV = PYTHON=$(HOST_DIR)/usr/bin/python2
>  XEN_MAKE_ENV = \
>  	XEN_TARGET_ARCH=$(XEN_ARCH) \
>  	CROSS_COMPILE=$(TARGET_CROSS) \
> -- 
> 2.7.4
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2016-08-13 11:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12 22:30 [Buildroot] [PATCH 1/2] xen: Ensure host Python2 is used Alistair Francis
2016-08-12 22:30 ` [Buildroot] [PATCH 2/2] xen: Bump to version 4.7 Alistair Francis
2016-08-16 11:06   ` Peter Korsgaard
2016-08-16 16:46     ` Alistair Francis
2016-08-13 11:20 ` Yann E. MORIN [this message]
2016-08-14 14:16 ` [Buildroot] [PATCH 1/2] xen: Ensure host Python2 is used Thomas Petazzoni
2016-08-15 16:40   ` Alistair Francis
2016-08-15 17:04     ` Yann E. MORIN
2016-08-15 18:09       ` Alistair Francis

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=20160813112043.GA5734@free.fr \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /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