[Buildroot] [PATCH 1/1] Build Python with tzset support

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 8 14:28:40 UTC 2014


Dear Henry Margies,

On Tue,  8 Jul 2014 14:23:53 +0100, Henry Margies wrote:
> This patch adds support for time.tzset() in Python 2.7.
> 
> The Python configure script sets ac_cv_working_tzset to 'no' when
> cross compiling, although it should be available and work with all 
> toolchains supported by Buildroot (?).
> The patch below pre-sets the variable so that time.tzset() works.
> 
> Signed-off-by: Henry Margies <henry.margies at gmail.com>
> ---
>  package/python/python.mk |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)

Looks good to me:

Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

However, it would be nice to also submit a similar patch for the
python3 package. Also, we should really audit all the AC_RUN_IFELSE()
invocation from Python configure.ac script to see which cache variables
should be prefilled from the pyhon{3,}.mk.

Thanks!

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


More information about the buildroot mailing list