[Buildroot] [PATCH] python: fix host-python symlink installation when no python is selected

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Apr 6 11:03:46 UTC 2014


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



More information about the buildroot mailing list