summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2019-04-18 13:53:07 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-05-09 16:31:56 +0100
commit270b49d951a59c07ce8ede11e50511ada5bee988 (patch)
treee220884de8fc0856b3298ed34a0d753bda9c2699
parentef5a902cf085b47209bdde76d9e086f9a29da578 (diff)
downloadpoky-270b49d951a59c07ce8ede11e50511ada5bee988.tar.gz
icu: Added armeb support.
Make icu support arm32 BE. Upstream-Status: Pending (From OE-Core rev: 244f2e5fb545dd40d020811799a6022e14468eeb) Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch30
-rw-r--r--meta/recipes-support/icu/icu_64.2.bb1
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
new file mode 100644
index 0000000000..299689d95c
--- /dev/null
+++ b/meta/recipes-support/icu/icu/0001-icu-Added-armeb-support.patch
@@ -0,0 +1,30 @@
1From 500321387ceca48934bb0f323779117cd518bab6 Mon Sep 17 00:00:00 2001
2From: Lei Maohui <leimaohui@cn.fujitsu.com>
3Date: Wed, 8 May 2019 14:42:30 +0900
4Subject: [PATCH] icu: Added armeb support.
5
6Make icu support arm32 BE.
7
8Upstream-Status: Pending
9
10Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
11---
12 i18n/double-conversion-utils.h | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/i18n/double-conversion-utils.h b/i18n/double-conversion-utils.h
16index 1e44fca..e4f2a8b 100644
17--- a/i18n/double-conversion-utils.h
18+++ b/i18n/double-conversion-utils.h
19@@ -92,7 +92,7 @@ int main(int argc, char** argv) {
20 //
21 // If it prints "correct" then the architecture should be here, in the "correct" section.
22 #if defined(_M_X64) || defined(__x86_64__) || \
23- defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
24+ defined(__arm__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
25 defined(__hppa__) || defined(__ia64__) || \
26 defined(__mips__) || \
27 defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
28--
292.7.4
30
diff --git a/meta/recipes-support/icu/icu_64.2.bb b/meta/recipes-support/icu/icu_64.2.bb
index bbc76d6483..10bac7aac0 100644
--- a/meta/recipes-support/icu/icu_64.2.bb
+++ b/meta/recipes-support/icu/icu_64.2.bb
@@ -17,6 +17,7 @@ SRC_URI = "${BASE_SRC_URI} \
17 file://icu-pkgdata-large-cmd.patch \ 17 file://icu-pkgdata-large-cmd.patch \
18 file://fix-install-manx.patch \ 18 file://fix-install-manx.patch \
19 file://0001-Fix-big-endian-build.patch \ 19 file://0001-Fix-big-endian-build.patch \
20 file://0001-icu-Added-armeb-support.patch \
20 " 21 "
21 22
22SRC_URI_append_class-target = "\ 23SRC_URI_append_class-target = "\