[OE-core] [OE-Core][Patch][Morty] gmp: Disable assembly for MIPS R6

Zubair Lutfullah Kakakhel Zubair.Kakakhel at imgtec.com
Thu Mar 2 15:11:40 UTC 2017


gmplib has some assembly routines. These have not been optimized
for MIPS R6 yet. Add --disable-assembly so that the C implementation
is used.

(From OE-Core rev: b0975809fe43b7506cc30a60245f5e32b275a3ec)

Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel at imgtec.com>

---
Pyro has slightly different mips arch options.
Hence the subtle difference
---
 meta/recipes-support/gmp/gmp_6.1.1.bb | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-support/gmp/gmp_6.1.1.bb b/meta/recipes-support/gmp/gmp_6.1.1.bb
index 303c3ef..c89773a 100644
--- a/meta/recipes-support/gmp/gmp_6.1.1.bb
+++ b/meta/recipes-support/gmp/gmp_6.1.1.bb
@@ -20,7 +20,14 @@ SRC_URI[sha256sum] = "a8109865f2893f1373b0a8ed5ff7429de8db696fc451b1036bd7bdf95b
 
 acpaths = ""
 
-EXTRA_OECONF += " --enable-cxx=detect"
+DISABLE_ASSEMBLY ?= ""
+
+DISABLE_ASSEMBLY_mipsisa32r6 = "--disable-assembly"
+DISABLE_ASSEMBLY_mipsisa32r6el = "--disable-assembly"
+DISABLE_ASSEMBLY_mipsisa64r6 = "--disable-assembly"
+DISABLE_ASSEMBLY_mipsisa64r6el = "--disable-assembly"
+
+EXTRA_OECONF += " --enable-cxx=detect ${DISABLE_ASSEMBLY}"
 
 PACKAGES =+ "libgmpxx"
 FILES_libgmpxx = "${libdir}/libgmpxx${SOLIBS}"
-- 
2.10.2




More information about the Openembedded-core mailing list