summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorAlexey Brodkin <alexey.brodkin@synopsys.com>2019-01-11 15:50:14 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-14 11:35:56 +0000
commit8a0940eb503d7ff30ed21103c9e90efd533c3b83 (patch)
tree6bcfe7125fe67c3597f621ba063fdfa391cea498 /meta
parentd6fe480c2bb20674cb1303f5d85fb6f8b66df1e5 (diff)
downloadpoky-8a0940eb503d7ff30ed21103c9e90efd533c3b83.tar.gz
webkitgtk: Enable building for ARC architecture
For that we need 2 things: 1. Disable JIT in JS as it's not supported for ARC. 2. Compile with "-mlong-calls" so relocations with offsets larger than 25 bits are used, otherwise linker fails to link final binaries. (From OE-Core rev: 463f10fde9f72d26e89db324ca675bfe597fcc5e) Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Alexander Kanavin <alex.kanavin@gmail.com> Cc: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.22.5.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.22.5.bb b/meta/recipes-sato/webkit/webkitgtk_2.22.5.bb
index 2e79f739ea..e3579e472b 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.22.5.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.22.5.bb
@@ -69,6 +69,13 @@ EXTRA_OECMAKE = " \
69EXTRA_OECMAKE_append_x86 = " -DUSE_GSTREAMER_GL=OFF " 69EXTRA_OECMAKE_append_x86 = " -DUSE_GSTREAMER_GL=OFF "
70EXTRA_OECMAKE_append_x86-x32 = " -DUSE_GSTREAMER_GL=OFF " 70EXTRA_OECMAKE_append_x86-x32 = " -DUSE_GSTREAMER_GL=OFF "
71 71
72# Javascript JIT is not supported on ARC
73EXTRA_OECMAKE_append_arc = " -DENABLE_JIT=OFF "
74# By default 25-bit "medium" calls are used on ARC
75# which is not enough for binaries larger than 32 MiB
76CFLAGS_append_arc = " -mlong-calls"
77CXXFLAGS_append_arc = " -mlong-calls"
78
72# Javascript JIT is not supported on powerpc 79# Javascript JIT is not supported on powerpc
73EXTRA_OECMAKE_append_powerpc = " -DENABLE_JIT=OFF " 80EXTRA_OECMAKE_append_powerpc = " -DENABLE_JIT=OFF "
74EXTRA_OECMAKE_append_powerpc64 = " -DENABLE_JIT=OFF " 81EXTRA_OECMAKE_append_powerpc64 = " -DENABLE_JIT=OFF "