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

Samuel Martin s.martin49 at gmail.com
Sun Apr 6 11:35:07 UTC 2014


On Sun, Apr 6, 2014 at 1:03 PM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> 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.

Sure. Just checked and it works!
Patch incoming ;)

>
> Thanks for the investigation!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com



-- 
Samuel


More information about the buildroot mailing list