Return-Path: Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by mail.openembedded.org (Postfix) with ESMTP id C624E7C427 for ; Mon, 15 Jul 2019 10:20:50 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id x6FAKV25008451 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Mon, 15 Jul 2019 03:20:41 -0700 Received: from msp-lpggp1.wrs.com (172.25.34.110) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.468.0; Mon, 15 Jul 2019 03:20:20 -0700 From: To: Date: Mon, 15 Jul 2019 06:20:16 -0400 Message-ID: <20190715102016.114264-1-kai.kang@windriver.com> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 Subject: [PATCH] webkitgtk: set incomptible with tune mips X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Jul 2019 10:20:51 -0000 Content-Transfer-Encoding: 8bit Content-Type: text/plain From: Kai Kang It fails to compile webkit when default tune is 'mips': | .../tmp-glibc/work/mips-wrs-linux/webkitgtk/2.24.2-r0/webkitgtk-2.24.2 | /Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h:418:23: | error: static assertion failed: CLZ opcode is not available for this ISA So don't build webkit when default tune is mips. Signed-off-by: Kai Kang --- meta/recipes-sato/webkit/webkitgtk_2.24.2.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-sato/webkit/webkitgtk_2.24.2.bb b/meta/recipes-sato/webkit/webkitgtk_2.24.2.bb index 056334fff5..891266b220 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.24.2.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.24.2.bb @@ -43,6 +43,8 @@ DEPENDS = "zlib libsoup-2.4 curl libxml2 cairo libxslt libxt libidn libgcrypt \ gettext-native glib-2.0 glib-2.0-native libtasn1 \ " +COMPATIBLE_HOST_mipsarch = "${@bb.utils.contains('DEFAULTTUNE', 'mips', 'null', 'mips.*-linux', d)}" + PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'wayland' ,d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'webgl opengl', '' ,d)} \ enchant \ -- 2.20.0