Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 7/7] system: allow setting the local timezone for uClibc
Date: Mon, 3 Mar 2014 23:20:26 +0100	[thread overview]
Message-ID: <20140303222026.GA14940@free.fr> (raw)
In-Reply-To: <8d077cf232f771f415eb591b285ced22711fba9d.1393884458.git.yann.morin.1998@free.fr>

Alexandre, All,

Reviewing our own patch here:

On 2014-03-03 23:10 +0100, Yann E. MORIN spake thusly:
> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
> ---
>  system/Config.in | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/system/Config.in b/system/Config.in
> index 008369f..cea9429 100644
> --- a/system/Config.in
> +++ b/system/Config.in
> @@ -267,8 +267,10 @@ endif
>  
>  config BR2_TARGET_TZ_INFO
>  	bool "Install timezone info"
> -	depends on BR2_TOOLCHAIN_USES_GLIBC
> -	select BR2_PACKAGE_TZDATA
> +	# No timezone for musl; only for uClibc or (e)glibc.
> +	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
> +	select BR2_PACKAGE_TZDATA if BR2_TOOLCHAIN_USES_GLIBC
> +	select BR2_PACKAGE_TZ if BR2_TOOLCHAIN_USES_UCLIBC
>  	help
>  	  Say 'y' here to install timezone info.
>  
> @@ -276,11 +278,13 @@ if BR2_TARGET_TZ_INFO
>  
>  config BR2_TARGET_TZ_ZONELIST
>  	string "timezone list"
> +	# Only valid for uClibc or (e)glibc
> +	depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC

Unneeded, it already 'depends on' BR2_TARGET_TZ_INFO (in an if-block),
so we do not need to repeat this here.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2014-03-03 22:20 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-03 22:10 [Buildroot] [PATCH 0/7 v3] Setting timezone for uClibc, and setting localtime Yann E. MORIN
2014-03-03 22:10 ` [Buildroot] [PATCH 1/7] system: make the zoneinfo list a system option Yann E. MORIN
2014-03-03 22:10 ` [Buildroot] [PATCH 2/7] system: add selection of a default localtime Yann E. MORIN
2014-03-03 22:10 ` [Buildroot] [PATCH 3/7] tzdata: allow host build Yann E. MORIN
2014-03-03 22:10 ` [Buildroot] [PATCH 4/7] package/zic: install header Yann E. MORIN
2014-03-07 22:39   ` Thomas Petazzoni
2014-03-03 22:10 ` [Buildroot] [PATCH 5/7] tzdump: new host package Yann E. MORIN
2014-03-03 22:10 ` [Buildroot] [PATCH 6/7] tz: new package Yann E. MORIN
2014-03-03 22:10 ` [Buildroot] [PATCH 7/7] system: allow setting the local timezone for uClibc Yann E. MORIN
2014-03-03 22:20   ` Yann E. MORIN [this message]
2014-03-03 22:26   ` [Buildroot] [PATCH] " Yann E. MORIN

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=20140303222026.GA14940@free.fr \
    --to=yann.morin.1998@free.fr \
    --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