summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@openwide.fr>2013-12-28 17:10:59 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-12-29 11:10:09 (GMT)
commitd36da1b1b60aa58fb6d0413c02446ec7d1f913ad (patch)
treeaeacaeeda1730c0c2f4f0bbf981d3ee8f4c77109
parent5831a8bae2394ba872ec68b9b48c35c2172d6f45 (diff)
downloadbuildroot-d36da1b1b60aa58fb6d0413c02446ec7d1f913ad.tar.gz
buildroot-d36da1b1b60aa58fb6d0413c02446ec7d1f913ad.tar.bz2
xenomai: enable armv5tej support
The br-arm-full-2013.11-rc2 toolchain is builded with arch=armv5te and tune=arm926ej-s, which is not recognized by xenomai. fixes: http://autobuild.buildroot.net/results/e3b/e3b534dafb6dd7d788b0c3629ccc0b25702790f0/build-end.log This patch has already been merged upstream: http://git.xenomai.org/xenomai-2.6.git/commit/?id=ebc2779baa222db4a5936c3d3022803355585b8c Signed-off-by: Romain Naour <romain.naour@openwide.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/xenomai/xenomai-0001-arm-enable-armv5tej-support.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/xenomai/xenomai-0001-arm-enable-armv5tej-support.patch b/package/xenomai/xenomai-0001-arm-enable-armv5tej-support.patch
new file mode 100644
index 0000000..fdff0aa
--- /dev/null
+++ b/package/xenomai/xenomai-0001-arm-enable-armv5tej-support.patch
@@ -0,0 +1,40 @@
+From ebc2779baa222db4a5936c3d3022803355585b8c Mon Sep 17 00:00:00 2001
+From: Romain Naour <romain.naour@openwide.fr>
+Date: Sat, 28 Dec 2013 13:31:14 +0100
+Subject: [PATCH 1/1] arm: enable armv5tej support
+
+armv5tej are not detected in include/asm-arm/features.h
+
+fixes: http://autobuild.buildroot.net/results/e3b/e3b534dafb6dd7d788b0c3629ccc0b25702790f0/build-end.log
+
+Signed-off-by: Romain Naour <romain.naour@openwide.fr>
+---
+ include/asm-arm/features.h | 9 +++++----
+ 1 file changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/include/asm-arm/features.h b/include/asm-arm/features.h
+index b83ac2c..bb3ea92 100644
+--- a/include/asm-arm/features.h
++++ b/include/asm-arm/features.h
+@@ -56,13 +56,14 @@
+ #define __LINUX_ARM_ARCH__ 4
+ #endif /* armv4 */
+
+-#if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) \
+- || defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__)
++#if defined(__ARM_ARCH_5__) || defined(__ARM_ARCH_5T__) || \
++ defined(__ARM_ARCH_5E__) || defined(__ARM_ARCH_5TE__) || \
++ defined(__ARM_ARCH_5TEJ__)
+ #define __LINUX_ARM_ARCH__ 5
+ #endif /* armv5 */
+
+-#if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6K__) \
+- || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__)
++#if defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6K__) || \
++ defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__)
+ #define __LINUX_ARM_ARCH__ 6
+ #endif /* armv6 */
+
+--
+1.8.1.4
+