[OE-core] [PATCH 3/4] libffi: don't compile in mips16e mode

André Draszik git at andred.net
Fri Jun 24 10:58:29 UTC 2016


From: André Draszik <adraszik at tycoint.com>

libffi contains hand-written assembly which is not compatible with
the MIPS16e mode.

Signed-off-by: André Draszik <adraszik at tycoint.com>
---
 meta/recipes-support/libffi/libffi_3.2.1.bb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/meta/recipes-support/libffi/libffi_3.2.1.bb b/meta/recipes-support/libffi/libffi_3.2.1.bb
index 72e25fb..42ab108 100644
--- a/meta/recipes-support/libffi/libffi_3.2.1.bb
+++ b/meta/recipes-support/libffi/libffi_3.2.1.bb
@@ -23,4 +23,8 @@ inherit autotools texinfo
 
 FILES_${PN}-dev += "${libdir}/libffi-${PV}"
 
+# Doesn't compile in MIPS16e mode due to use of hand-written
+# assembly
+MIPS_INSTRUCTION_SET = "mips16"
+
 BBCLASSEXTEND = "native nativesdk"
-- 
2.8.1




More information about the Openembedded-core mailing list