Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] python: fix host-python symlink installation when no python is selected
Date: Sun, 6 Apr 2014 13:03:46 +0200	[thread overview]
Message-ID: <20140406130346.302f0b11@skate> (raw)
In-Reply-To: <CAHXCMMKFCkPzYD=SgeYPUFS+p+RDVR-5mexT9r5CqoMuWUXC=Q@mail.gmail.com>

Dear Samuel Martin,

On Sun, 6 Apr 2014 12:48:04 +0200, Samuel Martin wrote:

> So, there is no python symlink yet installed in the host dir.; that's
> why the configure script fallback on the system python installation.
> 
> I see 2 possible way to fix this:
> 1) add the following line to libevdev.mk:
> LIBEVDEV_CONF_ENV += ac_cv_path_PYTHON=$(HOST_DIR)/usr/bin/python2
> 
> 2) or, if python3 is correctly supported by libevdev, then change the
> host-python dependency to:
> LIBEVDEV_DEPENDENCIES += $(if $(BR2_PACKAGE_PYHTON3),host-python3,host-python)

Can you check if Python 3 is OK for libevdev? If it's the case, then we
could implement solution (2) that you're proposing here.

Thanks for the investigation!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

  reply	other threads:[~2014-04-06 11:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-06  7:35 [Buildroot] [PATCH] python: fix host-python symlink installation when no python is selected Samuel Martin
2014-04-06  8:30 ` Baruch Siach
2014-04-06 10:48   ` Samuel Martin
2014-04-06 11:03     ` Thomas Petazzoni [this message]
2014-04-06 11:35       ` Samuel Martin
2014-04-06  9:55 ` Thomas Petazzoni

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=20140406130346.302f0b11@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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