mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-20 11:38:34 +00:00
librcf: fix mips/mips64 build
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
19
meta-oe/recipes-devtools/librcf/librcf/mips-support.patch
Normal file
19
meta-oe/recipes-devtools/librcf/librcf/mips-support.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
Index: RCF-2.2.0.0/src/RCF/ByteOrdering.cpp
|
||||
===================================================================
|
||||
--- RCF-2.2.0.0.orig/src/RCF/ByteOrdering.cpp
|
||||
+++ RCF-2.2.0.0/src/RCF/ByteOrdering.cpp
|
||||
@@ -64,6 +64,14 @@ namespace RCF {
|
||||
|
||||
const ByteOrder MachineByteOrder = LittleEndian;
|
||||
|
||||
+#elif defined(__mipsel__) || defined(__mips64el__)
|
||||
+
|
||||
+ const ByteOrder MachineByteOrder = LittleEndian;
|
||||
+
|
||||
+#elif defined( __mips__ ) || defined(__mips64__)
|
||||
+
|
||||
+ const ByteOrder MachineByteOrder = BigEndian;
|
||||
+
|
||||
#elif defined(__bfin__)
|
||||
|
||||
const ByteOrder MachineByteOrder = LittleEndian;
|
||||
@@ -14,6 +14,7 @@ SRC_URI = "http://www.deltavsoft.com/downloads/RCF-${PV}.tar.gz \
|
||||
file://0001-Add-CMake-build-files.patch \
|
||||
file://aarch64-support.patch \
|
||||
file://0001-ClientStub.hpp-fix-a-clang-compiling-issue.patch \
|
||||
file://mips-support.patch \
|
||||
"
|
||||
|
||||
SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690"
|
||||
|
||||
Reference in New Issue
Block a user