summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-04-07 00:49:16 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-24 11:00:53 +0200
commit95e511248174715a14a9542324fee2a8835ea2f8 (patch)
tree682936980cebc89e21b70dcd9b021a1207e88bcb /meta-oe
parent2ba483aecc7e4430c9dd6491faf8881427332f43 (diff)
downloadmeta-openembedded-95e511248174715a14a9542324fee2a8835ea2f8.tar.gz
librcf: Fix build on aarch64
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/librcf/librcf/aarch64-support.patch13
-rw-r--r--meta-oe/recipes-devtools/librcf/librcf_2.2.0.0.bb1
2 files changed, 14 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/librcf/librcf/aarch64-support.patch b/meta-oe/recipes-devtools/librcf/librcf/aarch64-support.patch
new file mode 100644
index 000000000..28cd0fe60
--- /dev/null
+++ b/meta-oe/recipes-devtools/librcf/librcf/aarch64-support.patch
@@ -0,0 +1,13 @@
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@@ -60,7 +60,7 @@ namespace RCF {
6
7 const ByteOrder MachineByteOrder = LittleEndian;
8
9-#elif defined(__arm__)
10+#elif defined(__arm__) || defined(__aarch64__)
11
12 const ByteOrder MachineByteOrder = LittleEndian;
13
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 b8d15835b..51ad7ec9c 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
@@ -12,6 +12,7 @@ LIC_FILES_CHKSUM = "file://license.txt;md5=137c2935b51c95068a8b1bbd434ffe2d"
12 12
13SRC_URI = "http://www.deltavsoft.com/downloads/RCF-${PV}.tar.gz \ 13SRC_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 " 16 "
16 17
17SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690" 18SRC_URI[md5sum] = "7ecb3c73f7eb66dba8790b659374f690"