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 1/3] uclibc: cleanup handling of ARC uClibc version
Date: Sat, 14 Feb 2015 23:04:58 +0100	[thread overview]
Message-ID: <20150214220458.GH3886@free.fr> (raw)
In-Reply-To: <1423947668-23312-2-git-send-email-thomas.petazzoni@free-electrons.com>

Thomas, All,

On 2015-02-14 22:01 +0100, Thomas Petazzoni spake thusly:
> This commit makes the ARC uClibc version handling explicit by adding a
> BR2_UCLIBC_VERSION_ARC_GIT option, rather than only relying on the
> selected architecture. This is needed in preparation to the
> introduction of uClibc-ng support, which also supports the ARC
> architecture: so we will now have two uClibc versions capable of
> handling ARC.
> 
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/uclibc/Config.in | 8 ++++++--
>  package/uclibc/uclibc.mk | 2 +-
>  2 files changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
> index aa99a6f..a20b002 100644
> --- a/package/uclibc/Config.in
> +++ b/package/uclibc/Config.in
> @@ -17,6 +17,10 @@ choice
>  		bool "uClibc 0.9.33.x"
>  		depends on !(BR2_arc || BR2_xtensa)
>  
> +	config BR2_UCLIBC_VERSION_ARC_GIT
> +		bool "uClibc Git ARC"
> +		depends on BR2_arc
> +
>  	config BR2_UCLIBC_VERSION_XTENSA_GIT
>  		bool "uClibc Git Xtensa"
>  		depends on BR2_xtensa
> @@ -37,14 +41,14 @@ config BR2_USE_UCLIBC_SNAPSHOT
>  config BR2_UCLIBC_VERSION_STRING
>  	string
>  	default 0.9.33.2	if BR2_UCLIBC_VERSION_0_9_33
> -	default "arc-2014.12" if BR2_arc
> +	default "arc-2014.12" if BR2_UCLIBC_VERSION_ARC_GIT
>  	default "7bf35c8b7d4a1f97174eb49f47f33946b282114c" if BR2_UCLIBC_VERSION_XTENSA_GIT
>  	default BR2_USE_UCLIBC_SNAPSHOT	if BR2_UCLIBC_VERSION_SNAPSHOT
>  
>  config BR2_UCLIBC_CONFIG
>  	string "uClibc configuration file to use?"
>  	default "package/uclibc/uClibc-0.9.33.config" if BR2_UCLIBC_VERSION_0_9_33
> -	default "package/uclibc/uClibc-snapshot.config" if BR2_arc
> +	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_ARC_GIT
>  	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_SNAPSHOT
>  	default "package/uclibc/uClibc-snapshot.config" if BR2_UCLIBC_VERSION_XTENSA_GIT
>  	help
> diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
> index 40e6c6c..b29cff4 100644
> --- a/package/uclibc/uclibc.mk
> +++ b/package/uclibc/uclibc.mk
> @@ -11,7 +11,7 @@ UCLIBC_LICENSE_FILES = COPYING.LIB
>  
>  ifeq ($(BR2_UCLIBC_VERSION_SNAPSHOT),y)
>  UCLIBC_SITE = http://www.uclibc.org/downloads/snapshots
> -else ifeq ($(BR2_arc),y)
> +else ifeq ($(BR2_UCLIBC_VERSION_ARC_GIT),y)
>  UCLIBC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,uClibc,$(UCLIBC_VERSION))
>  UCLIBC_SOURCE = uClibc-$(UCLIBC_VERSION).tar.gz
>  else ifeq ($(BR2_UCLIBC_VERSION_XTENSA_GIT),y)
> -- 
> 2.1.0
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  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:[~2015-02-14 22:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-14 21:01 [Buildroot] [PATCH 0/3] uclibc: add support for uClibc-ng Thomas Petazzoni
2015-02-14 21:01 ` [Buildroot] [PATCH 1/3] uclibc: cleanup handling of ARC uClibc version Thomas Petazzoni
2015-02-14 22:04   ` Yann E. MORIN [this message]
2015-02-20  8:46   ` Thomas Petazzoni
2015-02-14 21:01 ` [Buildroot] [PATCH 2/3] uclibc: add ability to use uClibc-ng 1.0.0 Thomas Petazzoni
2015-02-14 21:01 ` [Buildroot] [PATCH 3/3] uclibc: enable Xtensa NPTL support with uClibc-ng Thomas Petazzoni
2015-03-01 10:53 ` [Buildroot] [PATCH 0/3] uclibc: add support for uClibc-ng Waldemar Brodkorb
2015-03-01 12:09   ` Thomas Petazzoni
2015-03-01 11:50 ` Thomas Petazzoni

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=20150214220458.GH3886@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