From patchwork Sat Sep 22 23:53:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Perez de Castro X-Patchwork-Id: 973632 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=igalia.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=igalia.com header.i=@igalia.com header.b="GDKiHR+7"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42HnSl3qy3z9s47 for ; Sun, 23 Sep 2018 09:57:11 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 2D04387B0E; Sat, 22 Sep 2018 23:57:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XkkVZ37Bel+I; Sat, 22 Sep 2018 23:57:03 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9593F87AF4; Sat, 22 Sep 2018 23:57:03 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id A0E2F1C1E66 for ; Sat, 22 Sep 2018 23:56:54 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 9D64A86D29 for ; Sat, 22 Sep 2018 23:56:54 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NSFbd0xm8RvF for ; Sat, 22 Sep 2018 23:56:53 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from fanzine.igalia.com (fanzine.igalia.com [91.117.99.155]) by whitealder.osuosl.org (Postfix) with ESMTPS id E44C786DA8 for ; Sat, 22 Sep 2018 23:56:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=9/+hLjZVWtyP32SHcxtL8mweIreqdWXz8o/RU/6Gjrk=; b=GDKiHR+7MCstdVMmgerD22cuMu7LXkvJLrF1hGXbGt0VKXf/u5KfbPeUoC31VHzLsZqSaLhMzOGEtWx7Ty2vnFUPTGGKKHd4W5i2clzEXQ4GXHxTcla/ORnlmPpZP+JpSnBsSMQSbFqMdLNsKDTu2tzXQSUvf8FFInGpXGr2X/L30VO9lbQIqPw2CsGkLaUnt5MfwwKYVMRtKJ7MDFTlluUX2fS4awMwB4ry6m4VbmojxNpfXhaPDAifeSi08XYyrfxUyIlik1zneBiWaP1tugVuwJv2bcTnuz4j3cLC/GrVI/stzKJubo7O1k3bgzZnzKUGLykyt7hiyCl0SyCAFQ==; Received: from [194.100.51.2] (helo=kodama) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1g3rlZ-00058Z-Cf; Sun, 23 Sep 2018 01:56:49 +0200 Received: from localhost (kodama [local]) by kodama (OpenSMTPD) with ESMTPA id 7e8baadf; Sat, 22 Sep 2018 23:53:33 +0000 (UTC) From: Adrian Perez de Castro To: buildroot@buildroot.org Date: Sun, 23 Sep 2018 02:53:32 +0300 Message-Id: <20180922235333.85642-5-aperez@igalia.com> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180922235333.85642-1-aperez@igalia.com> References: <20180922235333.85642-1-aperez@igalia.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH 4/5] webkitgtk: enable JIT support on 32-bit MIPS X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Adrian Perez de Castro Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" WebKitGTK+ is known to work on all 32-bit MIPS R2 or newer, in little-endian mode. Signed-off-by: Adrian Perez de Castro --- package/webkitgtk/Config.in | 9 +++++++++ package/webkitgtk/webkitgtk.mk | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/package/webkitgtk/Config.in b/package/webkitgtk/Config.in index ac6f57e2ad..3a12b7c0ec 100644 --- a/package/webkitgtk/Config.in +++ b/package/webkitgtk/Config.in @@ -12,6 +12,15 @@ config BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on BR2_TOOLCHAIN_HAS_SYNC_4 depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS # libgcrypt +config BR2_PACKAGE_WEBKITGTK_MIPS_JIT_SUPPORTED + bool + # JIT is known to not work on MIPS64. + # Plain MIPS32 (pre R2) is not well tested and likely broken. + default y if BR2_MIPS_CPU_MIPS32R2 + default y if BR2_MIPS_CPU_MIPS32R5 + default y if BR2_MIPS_CPU_MIPS32R6 + depends on BR2_mipsel + comment "webkitgtk needs libgtk3 and a glibc toolchain w/ C++, gcc >= 6, host gcc >= 4.8" depends on BR2_PACKAGE_WEBKITGTK_ARCH_SUPPORTS depends on !BR2_PACKAGE_LIBGTK3 || !BR2_INSTALL_LIBSTDCPP || \ diff --git a/package/webkitgtk/webkitgtk.mk b/package/webkitgtk/webkitgtk.mk index f0293fc225..028208cb62 100644 --- a/package/webkitgtk/webkitgtk.mk +++ b/package/webkitgtk/webkitgtk.mk @@ -30,7 +30,7 @@ WEBKITGTK_CONF_OPTS = \ # 32-bit ARM needs NEON for JIT, AArch64 is supported but not well tested # on big endian hence the missing $(BR2_aarch64_be). # i386 & x86_64 don't seem to have any special requirements -ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_i386)$(BR2_x86_64)$(BR2_aarch64),y) +ifeq ($(BR2_ARM_CPU_HAS_NEON)$(BR2_i386)$(BR2_x86_64)$(BR2_aarch64)$(BR2_PACKAGE_WEBKITGTK_MIPS_JIT_SUPPORTED),y) WEBKITGTK_CONF_OPTS += -DENABLE_JIT=ON else WEBKITGTK_CONF_OPTS += -DENABLE_JIT=OFF