summaryrefslogtreecommitdiffstats
path: root/package/liburcu
diff options
context:
space:
mode:
authorBen Shelton <benjamin.h.shelton@intel.com>2015-09-15 09:35:18 -0500
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-09-15 23:48:10 +0200
commit0ae594247be21ce2836b774123eac68419e8e8e8 (patch)
treeef0f58138cb88308158eb722e08f94900c4ec327 /package/liburcu
parent8a38963e267b7ffb57bef31501e7de4b2f5329aa (diff)
downloadbuildroot-0ae594247be21ce2836b774123eac68419e8e8e8.tar.gz
buildroot-0ae594247be21ce2836b774123eac68419e8e8e8.zip
liburcu: Add support for aarch64
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/liburcu')
-rw-r--r--package/liburcu/0002-support-aarch64.patch21
-rw-r--r--package/liburcu/Config.in4
-rw-r--r--package/liburcu/liburcu.mk1
3 files changed, 24 insertions, 2 deletions
diff --git a/package/liburcu/0002-support-aarch64.patch b/package/liburcu/0002-support-aarch64.patch
new file mode 100644
index 0000000000..6830e25ebe
--- /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@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 e7cbe93742..a4e8dc83dc 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.mk b/package/liburcu/liburcu.mk
index 8d06966f85..c886a1cf0e 100644
--- a/package/liburcu/liburcu.mk
+++ b/package/liburcu/liburcu.mk
@@ -10,6 +10,7 @@ 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))
OpenPOWER on IntegriCloud