Apart from gcc complaining about conflicting -march and -mcpu flags, chromium builds and runs fine as-is on 32-bit Raspberry Pi for X11.
Signed-off-by: Trevor Woerner <[email protected]> --- recipes-browser/chromium/chromium.inc | 1 + recipes-browser/chromium/files/armv7ve/include.gypi | 9 +++++++++ recipes-browser/chromium/files/armv7ve/oe-defaults.gypi | 15 +++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 recipes-browser/chromium/files/armv7ve/include.gypi create mode 100644 recipes-browser/chromium/files/armv7ve/oe-defaults.gypi diff --git a/recipes-browser/chromium/chromium.inc b/recipes-browser/chromium/chromium.inc index e603af0..60edccb 100644 --- a/recipes-browser/chromium/chromium.inc +++ b/recipes-browser/chromium/chromium.inc @@ -6,6 +6,7 @@ COMPATIBLE_MACHINE_x86 = "(.*)" COMPATIBLE_MACHINE_x86-64 = "(.*)" COMPATIBLE_MACHINE_armv6 = "(.*)" COMPATIBLE_MACHINE_armv7a = "(.*)" +COMPATIBLE_MACHINE_armv7ve = "(.*)" # The build type defaults to Release. If you want a Debug build, you can set # the variable CHROMIUM_BUILD_TYPE to "Debug" in your conf/local.conf file. diff --git a/recipes-browser/chromium/files/armv7ve/include.gypi b/recipes-browser/chromium/files/armv7ve/include.gypi new file mode 100644 index 0000000..316cf48 --- /dev/null +++ b/recipes-browser/chromium/files/armv7ve/include.gypi @@ -0,0 +1,9 @@ +{ + 'variables': { + # Configure for armv7 compilation + 'target_arch': 'arm', + 'armv7': 1, + 'arm_thumb': 1, + 'arm_neon': 1, + }, +} diff --git a/recipes-browser/chromium/files/armv7ve/oe-defaults.gypi b/recipes-browser/chromium/files/armv7ve/oe-defaults.gypi new file mode 100644 index 0000000..27e1cfe --- /dev/null +++ b/recipes-browser/chromium/files/armv7ve/oe-defaults.gypi @@ -0,0 +1,15 @@ +{ + 'variables': { + 'use_system_bzip2': 1, + 'disable_nacl': 1, + 'proprietary_codecs': 1, + 'v8_use_snapshot': 1, + 'use_system_ffmpeg': 0, + 'linux_use_tcmalloc': 0, + 'linux_link_kerberos': 0, + 'use_kerberos': 0, + 'use_cups': 0, + 'use_gnome_keyring': 0, + 'linux_link_gnome_keyring': 0 + }, +} -- 2.12.0.rc1.48.g076c053 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
