diff options
author | Khem Raj <raj.khem@gmail.com> | 2017-07-01 13:15:15 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-07-14 23:44:30 +0200 |
commit | 8c89764648787e6df51a89d708492b137ec40cd5 (patch) | |
tree | 452353a0a7bfd2c443b7f118c3de1a91f396614e /meta-oe/recipes-devtools | |
parent | a899acc81caa68824374f8b4948377e7b82fca2f (diff) | |
download | meta-openembedded-8c89764648787e6df51a89d708492b137ec40cd5.tar.gz |
librcf: Define byteorder for powerpc machines
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/0001-Check-for-__powerpc__-define.patch | 28 | ||||
-rw-r--r-- | meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb | 3 |
2 files changed, 30 insertions, 1 deletions
diff --git a/meta-oe/recipes-devtools/librcf/librcf/0001-Check-for-__powerpc__-define.patch b/meta-oe/recipes-devtools/librcf/librcf/0001-Check-for-__powerpc__-define.patch new file mode 100644 index 000000000..d91accf1d --- /dev/null +++ b/meta-oe/recipes-devtools/librcf/librcf/0001-Check-for-__powerpc__-define.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From ac7316679e30f7013604b19aa0949a0744e91d2f Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 1 Jul 2017 13:06:30 -0700 | ||
4 | Subject: [PATCH] Check for __powerpc__ define | ||
5 | |||
6 | Also check for gcc's internal define for ppc platform | ||
7 | |||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
9 | --- | ||
10 | src/RCF/ByteOrdering.cpp | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/RCF/ByteOrdering.cpp b/src/RCF/ByteOrdering.cpp | ||
14 | index 278ca80..9f9c446 100755 | ||
15 | --- a/src/RCF/ByteOrdering.cpp | ||
16 | +++ b/src/RCF/ByteOrdering.cpp | ||
17 | @@ -36,7 +36,7 @@ namespace RCF { | ||
18 | |||
19 | const ByteOrder MachineByteOrder = BigEndian; | ||
20 | |||
21 | -#elif defined( __ppc__ ) | ||
22 | +#elif defined( __ppc__ ) || defined( __powerpc__ ) | ||
23 | |||
24 | const ByteOrder MachineByteOrder = BigEndian; | ||
25 | |||
26 | -- | ||
27 | 2.13.2 | ||
28 | |||
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 1287eb014..dee74277c 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 | |||
@@ -15,7 +15,8 @@ SRC_URI = "http://www.deltavsoft.com/downloads/RCF-${PV}.tar.gz \ | |||
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 | file://mips-support.patch \ |
18 | " | 18 | file://0001-Check-for-__powerpc__-define.patch \ |
19 | " | ||
19 | 20 | ||
20 | SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690" | 21 | SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690" |
21 | SRC_URI[sha256sum] = "bbfcc88de502c39604878c395f516b03fff4eac63eb4f7f44c07d433839712dd" | 22 | SRC_URI[sha256sum] = "bbfcc88de502c39604878c395f516b03fff4eac63eb4f7f44c07d433839712dd" |