diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-06-30 05:59:43 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-14 23:43:20 +0200 |
commit | 3278be3ac0d296df25928e057ed5d8d54a86ec50 (patch) | |
tree | 7544b428f85942cc4d9c74de430c4a0b14467b5b /meta-oe/recipes-devtools | |
parent | 9847dfaa54c7a33b8fdbfce839f6d1b74bf5e553 (diff) | |
download | meta-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.patch | 19 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb | 1 |
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 @@ | |||
1 | Index: 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 | ||
19 | SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690" | 20 | SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690" |