aboutsummaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-07-30 15:56:14 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-30 23:50:48 +0200
commite52edcd03069788760d05f4ac934dcdbfb335474 (patch)
tree44b188e68918fc171fdcc1f6d153976641cacccf /package
parent97703978ac870ce2b14ad144f8e082de82aa2c64 (diff)
downloadbuildroot-e52edcd03069788760d05f4ac934dcdbfb335474.tar.gz
buildroot-e52edcd03069788760d05f4ac934dcdbfb335474.tar.bz2
polarssl: disable microblaze inline assembly
Fixes: http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/polarssl/polarssl-02-disable-microblaze-asm.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/polarssl/polarssl-02-disable-microblaze-asm.patch b/package/polarssl/polarssl-02-disable-microblaze-asm.patch
new file mode 100644
index 0000000000..e90e12de5c
--- /dev/null
+++ b/package/polarssl/polarssl-02-disable-microblaze-asm.patch
@@ -0,0 +1,18 @@
+Microblaze assembly seems to be broken, fixes:
+
+http://autobuild.buildroot.net/results/4d5/4d54958ded61a0d929d992e4ca0bb31c996953cb/
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+
+diff -Nura polarssl-1.2.11.orig/include/polarssl/bn_mul.h polarssl-1.2.11/include/polarssl/bn_mul.h
+--- polarssl-1.2.11.orig/include/polarssl/bn_mul.h 2014-07-30 15:47:27.381658434 -0300
++++ polarssl-1.2.11/include/polarssl/bn_mul.h 2014-07-30 15:48:52.616543074 -0300
+@@ -480,7 +480,7 @@
+
+ #endif /* SPARCv8 */
+
+-#if defined(__microblaze__) || defined(microblaze)
++#if 0 && defined(__microblaze__) || defined(microblaze)
+
+ #define MULADDC_INIT \
+ asm( \