diff options
author | Riku Voipio <riku.voipio@linaro.org> | 2013-07-01 16:46:17 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-02 22:23:50 +0100 |
commit | 891ee9d5852f9dc9b792e6684d0f04f7e6b83324 (patch) | |
tree | 4b490adb7be68c482245999de2672dd79ea1c6c1 /meta/recipes-sato/webkit | |
parent | 23e87bdbcd86f3361d834f8d87bf87f478bbf316 (diff) | |
download | poky-891ee9d5852f9dc9b792e6684d0f04f7e6b83324.tar.gz |
webkit-gtk: add aarch64 support
Add patch from meta-linaro to compile webkit on aarch64.
(From OE-Core rev: 0edc61b9a38f93f06098b929662db6c3ce68670d)
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit')
-rw-r--r-- | meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch | 41 | ||||
-rw-r--r-- | meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb | 1 |
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch b/meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch new file mode 100644 index 0000000000..a76b0ba2b6 --- /dev/null +++ b/meta/recipes-sato/webkit/webkit-gtk-1.8.3/aarch64.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | Upstream-Status: Pending | ||
2 | Signed-off-by: Riku Voipio <riku.voipio@linaro.org> | ||
3 | Index: webkit-1.8.3/Source/JavaScriptCore/wtf/Platform.h | ||
4 | =================================================================== | ||
5 | --- webkit-1.8.3.orig/Source/JavaScriptCore/wtf/Platform.h 2013-06-12 00:58:14.000000000 -0700 | ||
6 | +++ webkit-1.8.3/Source/JavaScriptCore/wtf/Platform.h 2013-06-12 00:59:18.764056782 -0700 | ||
7 | @@ -304,6 +304,11 @@ | ||
8 | #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 | ||
9 | #endif | ||
10 | |||
11 | +/* CPU(AARCH64) - Aarch64 */ | ||
12 | +#if defined(__aarch64__) | ||
13 | +#define WTF_CPU_AARCH64 1 | ||
14 | +#endif | ||
15 | + | ||
16 | /* ==== OS() - underlying operating system; only to be used for mandated low-level services like | ||
17 | virtual memory, not to choose a GUI toolkit ==== */ | ||
18 | |||
19 | @@ -905,7 +910,8 @@ | ||
20 | || CPU(SPARC64) \ | ||
21 | || CPU(S390X) \ | ||
22 | || CPU(MIPS64) \ | ||
23 | - || CPU(PPC64) | ||
24 | + || CPU(PPC64) \ | ||
25 | + || CPU(AARCH64) | ||
26 | #define WTF_USE_JSVALUE64 1 | ||
27 | #else | ||
28 | #define WTF_USE_JSVALUE32_64 1 | ||
29 | Index: webkit-1.8.3/Source/JavaScriptCore/wtf/dtoa/utils.h | ||
30 | =================================================================== | ||
31 | --- webkit-1.8.3.orig/Source/JavaScriptCore/wtf/dtoa/utils.h 2013-06-12 00:57:22.000000000 -0700 | ||
32 | +++ webkit-1.8.3/Source/JavaScriptCore/wtf/dtoa/utils.h 2013-06-12 00:58:28.340056029 -0700 | ||
33 | @@ -49,7 +49,7 @@ | ||
34 | defined(__ARMEL__) || \ | ||
35 | defined(_MIPS_ARCH_MIPS32R2) | ||
36 | #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 | ||
37 | -#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(MIPS64) | ||
38 | +#elif CPU(MIPS) || CPU(PPC) || CPU(PPC64) || OS(WINCE) || CPU(SH4) || CPU(S390) || CPU(S390X) || CPU(IA64) || CPU(SPARC) || CPU(ALPHA) || CPU(MIPS64) || CPU(AARCH64) | ||
39 | #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 | ||
40 | #elif defined(_M_IX86) || defined(__i386__) | ||
41 | #if defined(_WIN32) | ||
diff --git a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb index 3be6dbadf8..ed98b30e39 100644 --- a/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb +++ b/meta/recipes-sato/webkit/webkit-gtk_1.8.3.bb | |||
@@ -25,6 +25,7 @@ SRC_URI = "\ | |||
25 | file://bison-2.6.patch \ | 25 | file://bison-2.6.patch \ |
26 | file://obsolete_automake_macros.patch \ | 26 | file://obsolete_automake_macros.patch \ |
27 | file://0001-Enable-mips64-build.patch \ | 27 | file://0001-Enable-mips64-build.patch \ |
28 | file://aarch64.patch \ | ||
28 | " | 29 | " |
29 | 30 | ||
30 | SRC_URI[md5sum] = "dcbf9d5e2e6391f857c29a57528b32a6" | 31 | SRC_URI[md5sum] = "dcbf9d5e2e6391f857c29a57528b32a6" |