aboutsummaryrefslogtreecommitdiff
path: root/package/libnspr/0001-nios2.patch
diff options
context:
space:
mode:
authorGravatar Fabrice Fontaine <fontaine.fabrice@gmail.com>2018-11-10 17:15:11 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2018-11-12 23:54:58 +0100
commitc9e3d5b6c578010ca8dfba0a43cc842519658d43 (patch)
tree5cf38a54afd21ebbf8087fde8a274d0439721e65 /package/libnspr/0001-nios2.patch
parentcd0ca09e43be8bd87fa35c96fa099a338b85de36 (diff)
downloadbuildroot-c9e3d5b6c578010ca8dfba0a43cc842519658d43.tar.gz
buildroot-c9e3d5b6c578010ca8dfba0a43cc842519658d43.tar.bz2
libnspr: bump to version 4.20
Support for riscv was added in this version Fixes: - http://autobuild.buildroot.org/results/a98db13ea105d627f2a4770969b31550926c2791 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/libnspr/0001-nios2.patch')
-rw-r--r--package/libnspr/0001-nios2.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/libnspr/0001-nios2.patch b/package/libnspr/0001-nios2.patch
index e10e7e9a66..c08fbb272b 100644
--- a/package/libnspr/0001-nios2.patch
+++ b/package/libnspr/0001-nios2.patch
@@ -2,6 +2,8 @@ Add Nios-II support
[Gustavo: update for nspr 4.10.9]
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
+[Fabrice: update for nspr 4.20]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Index: b/nspr/pr/include/md/_linux.cfg
===================================================================
@@ -64,9 +66,9 @@ Index: b/nspr/pr/include/md/_linux.h
--- a/nspr/pr/include/md/_linux.h
+++ b/nspr/pr/include/md/_linux.h
@@ -57,6 +57,8 @@
- #define _PR_SI_ARCHITECTURE "m32r"
- #elif defined(__or1k__)
- #define _PR_SI_ARCHITECTURE "or1k"
+ #define _PR_SI_ARCHITECTURE "riscv32"
+ #elif defined(__riscv) && (__riscv_xlen == 64)
+ #define _PR_SI_ARCHITECTURE "riscv64"
+#elif defined(__nios2__)
+#define _PR_SI_ARCHITECTURE "nios2"
#else