summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-06-30 05:59:43 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-07-14 23:43:20 +0200
commit3278be3ac0d296df25928e057ed5d8d54a86ec50 (patch)
tree7544b428f85942cc4d9c74de430c4a0b14467b5b /meta-oe/recipes-devtools
parent9847dfaa54c7a33b8fdbfce839f6d1b74bf5e553 (diff)
downloadmeta-openembedded-3278be3ac0d296df25928e057ed5d8d54a86ec50.tar.gz
librcf: fix mips/mips64 build
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/librcf/librcf/mips-support.patch19
-rw-r--r--meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb1
2 files changed, 20 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/librcf/librcf/mips-support.patch b/meta-oe/recipes-devtools/librcf/librcf/mips-support.patch
new file mode 100644
index 000000000..4a327f78e
--- /dev/null
+++ b/meta-oe/recipes-devtools/librcf/librcf/mips-support.patch
@@ -0,0 +1,19 @@
1Index: RCF-2.2.0.0/src/RCF/ByteOrdering.cpp
2===================================================================
3--- RCF-2.2.0.0.orig/src/RCF/ByteOrdering.cpp
4+++ RCF-2.2.0.0/src/RCF/ByteOrdering.cpp
5@@ -64,6 +64,14 @@ namespace RCF {
6
7 const ByteOrder MachineByteOrder = LittleEndian;
8
9+#elif defined(__mipsel__) || defined(__mips64el__)
10+
11+ const ByteOrder MachineByteOrder = LittleEndian;
12+
13+#elif defined( __mips__ ) || defined(__mips64__)
14+
15+ const ByteOrder MachineByteOrder = BigEndian;
16+
17 #elif defined(__bfin__)
18
19 const ByteOrder MachineByteOrder = LittleEndian;
diff --git a/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb b/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb
index 4c9683a66..1287eb014 100644
--- a/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb
+++ b/meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb
@@ -14,6 +14,7 @@ SRC_URI = "http://www.deltavsoft.com/downloads/RCF-${PV}.tar.gz \
14 file://0001-Add-CMake-build-files.patch \ 14 file://0001-Add-CMake-build-files.patch \
15 file://aarch64-support.patch \ 15 file://aarch64-support.patch \
16 file://0001-ClientStub.hpp-fix-a-clang-compiling-issue.patch \ 16 file://0001-ClientStub.hpp-fix-a-clang-compiling-issue.patch \
17 file://mips-support.patch \
17 " 18 "
18 19
19SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690" 20SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690"