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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jul 15 18:40:29 UTC 2014


Dear Henry Margies,

On Wed,  9 Jul 2014 11:38:59 +0100, Henry Margies wrote:
> This patch adds support for time.tzset() in Python2.7 and Python3.
> 
> 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>
> ---
> Changes v1 -> v2:
>  - added similar patch for Python3

Applied, thanks. I've adjusted a bit the commit title, as the normal
format is:

	<package>: <what's happening>

Ideally, two separate patches, one for Python 2 and one for Python 3
would have been better, but ok for this time.

Thanks for your contribution!

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



More information about the buildroot mailing list