From patchwork Fri Apr 7 18:57:13 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 97044 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp412415qgd; Fri, 7 Apr 2017 11:57:28 -0700 (PDT) X-Received: by 10.84.150.130 with SMTP id h2mr9857460plh.11.1491591448226; Fri, 07 Apr 2017 11:57:28 -0700 (PDT) Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l12si592601plk.280.2017.04.07.11.57.27; Fri, 07 Apr 2017 11:57:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id D86E077B41; Fri, 7 Apr 2017 18:57:25 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-lf0-f42.google.com (mail-lf0-f42.google.com [209.85.215.42]) by mail.openembedded.org (Postfix) with ESMTP id 97DE077B41 for ; Fri, 7 Apr 2017 18:57:23 +0000 (UTC) Received: by mail-lf0-f42.google.com with SMTP id s141so11053402lfe.3 for ; Fri, 07 Apr 2017 11:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=bX1TBR7TuzsLJvcdpI6/0StGXh6+PrWZa+lhQZm1O/s=; b=cYCEQ+rEPhxIX54HbccHtGaeTvJoPARncp4lIzsdzfSFlvKW2DRxXBGCE53sb7hPcY /bxOUVudmSSmbbu4dsxgd9g+QelJwK44w/mwd1ALk5vJzu9gPqz6sAW2hzQ9Ov8XtyI7 WLtiaHz6nDD6PqjAPpwU05XZD0xhK+uarSLGs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=bX1TBR7TuzsLJvcdpI6/0StGXh6+PrWZa+lhQZm1O/s=; b=okNip3m2jzeM9tmWG+AGtAcEQzZIZVShO8POOyaqhBTxUUyk2Vpp/dtr+WAaOcBIs/ /uNUIA2yUJxowxvNqyHe8YcnvfGlYJ9EjKprb3StmjF6OSljielxsxn5pdqUyVB6Fz5H t4kbt1ABs2/r9oiPiIXaWgbpkWx2PgFXtBpSKffXXV/ne297En20UKrzRYfzARH8SJSW KE8xzk2xjmaj1XDx8q01mLuQTzyV1doOyZm7/iJR3bueLpWre0+2+C/U6LoU3r/C5U87 ObBWQw+c2aLrC8ov6FmJiX9USgS4gkz2m0EQF+ITp6Ydsj4uAzfPYT6fjA+x5bunOh/I so6A== X-Gm-Message-State: AN3rC/7viHEm0qO/d6A8x7H/WITDq//v5iluKBmQUf9Y6S6XYwwp+cqNIO8crfshYRSTzjep X-Received: by 10.25.99.155 with SMTP id v27mr128660lfi.170.1491591444142; Fri, 07 Apr 2017 11:57:24 -0700 (PDT) Received: from ynk-TM8481.dev.rtsoft.ru (mail.dev.rtsoft.ru. [213.79.90.226]) by smtp.googlemail.com with ESMTPSA id e124sm1100013lfg.8.2017.04.07.11.57.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Apr 2017 11:57:23 -0700 (PDT) From: Andrey Konovalov To: openembedded-devel@lists.openembedded.org Date: Fri, 7 Apr 2017 21:57:13 +0300 Message-Id: <1491591433-19590-1-git-send-email-andrey.konovalov@linaro.org> X-Mailer: git-send-email 2.1.4 Subject: [oe] [PATCH] chromium: enable aarch64 support X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Tested by running: - chromium-wayland on HiKey - chromium on dragonboard-410c Signed-off-by: Andrey Konovalov --- recipes-browser/chromium/chromium.inc | 1 + recipes-browser/chromium/files/aarch64/include.gypi | 6 ++++++ recipes-browser/chromium/files/aarch64/oe-defaults.gypi | 15 +++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 recipes-browser/chromium/files/aarch64/include.gypi create mode 100644 recipes-browser/chromium/files/aarch64/oe-defaults.gypi -- 2.1.4 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel Signed-off-by: Andrey Konovalov diff --git a/recipes-browser/chromium/chromium.inc b/recipes-browser/chromium/chromium.inc index 60edccb..c0c3b94 100644 --- a/recipes-browser/chromium/chromium.inc +++ b/recipes-browser/chromium/chromium.inc @@ -7,6 +7,7 @@ COMPATIBLE_MACHINE_x86-64 = "(.*)" COMPATIBLE_MACHINE_armv6 = "(.*)" COMPATIBLE_MACHINE_armv7a = "(.*)" COMPATIBLE_MACHINE_armv7ve = "(.*)" +COMPATIBLE_MACHINE_aarch64 = "(.*)" # 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/aarch64/include.gypi b/recipes-browser/chromium/files/aarch64/include.gypi new file mode 100644 index 0000000..ad0347a --- /dev/null +++ b/recipes-browser/chromium/files/aarch64/include.gypi @@ -0,0 +1,6 @@ +{ + 'variables': { + # Configure for aarch64 compilation + 'target_arch': 'arm64', + }, +} diff --git a/recipes-browser/chromium/files/aarch64/oe-defaults.gypi b/recipes-browser/chromium/files/aarch64/oe-defaults.gypi new file mode 100644 index 0000000..27e1cfe --- /dev/null +++ b/recipes-browser/chromium/files/aarch64/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 + }, +}