Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] liburcu: Add support for aarch64 and bump version to 0.8.7
Date: Sat, 12 Sep 2015 10:50:40 +0100	[thread overview]
Message-ID: <55F3F570.8010903@imgtec.com> (raw)
In-Reply-To: <1442009293-4289-1-git-send-email-benjamin.h.shelton@intel.com>

Dear Ben Shelton,

I think "bumping the version" and "adding support for a new 
architecture" should be separate patches.

Regards,

Vincent.

On 11/09/15 23:08, Ben Shelton wrote:
> Bring over a patch from OpenEmbedded to treat aarch64 like arm in the build
> process, which allows the build to succeed.
>
> Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
> ---
>   package/liburcu/0002-support-aarch64.patch | 21 +++++++++++++++++++++
>   package/liburcu/Config.in                  |  4 ++--
>   package/liburcu/liburcu.hash               |  6 +++---
>   package/liburcu/liburcu.mk                 |  3 ++-
>   4 files changed, 28 insertions(+), 6 deletions(-)
>   create mode 100644 package/liburcu/0002-support-aarch64.patch
>
> diff --git a/package/liburcu/0002-support-aarch64.patch b/package/liburcu/0002-support-aarch64.patch
> new file mode 100644
> index 0000000..6830e25
> --- /dev/null
> +++ b/package/liburcu/0002-support-aarch64.patch
> @@ -0,0 +1,21 @@
> +libucru: recognize aarch64
> +
> +Make the same as "arm" internally.
> +
> +Upstream-Status: Pending
> +
> +Signed-off-by: joe.slater at windriver.com
> +[moved to buildroot from openembedded-core]
> +Signed-off-by: Ben Shelton <benjamin.h.shelton@intel.com>
> +
> +
> +--- a/configure.ac
> ++++ b/configure.ac
> +@@ -77,6 +77,7 @@ AS_CASE([$host_cpu],
> + 	[alpha*], [ARCHTYPE="alpha"],
> + 	[ia64], [ARCHTYPE="gcc"],
> + 	[arm*], [ARCHTYPE="arm"],
> ++	[aarch64], [ARCHTYPE="arm"],
> + 	[mips*], [ARCHTYPE="mips"],
> + 	[tile*], [ARCHTYPE="gcc"],
> + 	[ARCHTYPE="unknown"]
> diff --git a/package/liburcu/Config.in b/package/liburcu/Config.in
> index e7cbe93..a4e8dc8 100644
> --- a/package/liburcu/Config.in
> +++ b/package/liburcu/Config.in
> @@ -1,6 +1,6 @@
>   config BR2_PACKAGE_LIBURCU
>   	bool "liburcu"
> -	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
> +	depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
>   	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
>   	depends on BR2_TOOLCHAIN_HAS_THREADS
>   	help
> @@ -18,7 +18,7 @@ config BR2_PACKAGE_LIBURCU
>   	  http://lttng.org/urcu
>
>   comment "liburcu needs a toolchain w/ threads"
> -	depends on BR2_arm || BR2_armeb || BR2_i386 || BR2_powerpc || BR2_x86_64
> +	depends on BR2_arm || BR2_armeb || BR2_aarch64 || BR2_i386 || BR2_powerpc || BR2_x86_64
>   	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_58854 # liburcu/gcc-4.8.x bug
>   	depends on !BR2_TOOLCHAIN_HAS_THREADS
>
> diff --git a/package/liburcu/liburcu.hash b/package/liburcu/liburcu.hash
> index 2b1693d..64ba901 100644
> --- a/package/liburcu/liburcu.hash
> +++ b/package/liburcu/liburcu.hash
> @@ -1,4 +1,4 @@
> -# http://www.lttng.org/files/urcu/userspace-rcu-0.8.6.tar.bz2.sha1
> -sha1  f10e9bf812557cd0c2a35a277e04010ec278d25d  userspace-rcu-0.8.6.tar.bz2
> +# http://www.lttng.org/files/urcu/userspace-rcu-0.8.7.tar.bz2.sha1
> +sha1  5306999b8a3296f3dea91246d92e0a993d732898  userspace-rcu-0.8.7.tar.bz2
>   # Locally generated
> -sha256 b1a5d3bce014ba7a702759bc60b692c1cd46ff0e8a5b53f0d0a95e22db74ab21 userspace-rcu-0.8.6.tar.bz2
> +sha256 b523f22c4726ca6bb77a77d258e76d8c33c89724433bd65313024b98e55c4295 userspace-rcu-0.8.7.tar.bz2
> diff --git a/package/liburcu/liburcu.mk b/package/liburcu/liburcu.mk
> index 1582d07..c886a1c 100644
> --- a/package/liburcu/liburcu.mk
> +++ b/package/liburcu/liburcu.mk
> @@ -4,12 +4,13 @@
>   #
>   ################################################################################
>
> -LIBURCU_VERSION = 0.8.6
> +LIBURCU_VERSION = 0.8.7
>   LIBURCU_SITE = http://lttng.org/files/urcu
>   LIBURCU_SOURCE = userspace-rcu-$(LIBURCU_VERSION).tar.bz2
>   LIBURCU_LICENSE = LGPLv2.1+ for the library; MIT-like license for few source files listed in LICENSE; GPLv2+ for test; GPLv3 for few *.m4 files
>   LIBURCU_LICENSE_FILES = lgpl-2.1.txt lgpl-relicensing.txt gpl-2.0.txt LICENSE
>
> +LIBURCU_AUTORECONF = YES
>   LIBURCU_INSTALL_STAGING = YES
>
>   $(eval $(autotools-package))
>

      parent reply	other threads:[~2015-09-12  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-11 22:08 [Buildroot] [PATCH 1/3] liburcu: Add support for aarch64 and bump version to 0.8.7 Ben Shelton
2015-09-11 22:08 ` [Buildroot] [PATCH 2/3] lttng-libust: bump version to 2.6.2 and enable aarch64 build Ben Shelton
2015-09-12  9:52   ` Vicente Olivert Riera
2015-09-11 22:08 ` [Buildroot] [PATCH 3/3] lttng-tools: " Ben Shelton
2015-09-12  9:50 ` Vicente Olivert Riera [this message]

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=55F3F570.8010903@imgtec.com \
    --to=vincent.riera@imgtec.com \
    --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