From patchwork Sun Jul 15 19:44:02 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 141965 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1675241ljj; Sun, 15 Jul 2018 12:44:42 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcvBm2WyrYoRth5LSp3a0vbuqsEvd1vCIQGrOWbtN6glxZoIJlunW2xJ6RMlkYLEq/Y4kLO X-Received: by 2002:a63:b349:: with SMTP id x9-v6mr13175785pgt.337.1531683882629; Sun, 15 Jul 2018 12:44:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531683882; cv=none; d=google.com; s=arc-20160816; b=gN64vluOBxy1zONttBdxUNx+rGYSest/pmL6kYINgRwHbM4BwCkcRSAN37EoM5CoCs wKgB1edPs0EbulT5Qcq7BIJaC+Osmb8D9CFylx7Hd588eR15I5OhwJm6WdMuJ2PKclbx tZ5MzQ6WGVeMw7dhoY+pNoLwsOj5fBF4DUL/qqap1ervu5T6I5DP3MuwZ0j+5ifQkw81 YmPz3VSMnl6nHrtF/4voXsnvULxhxbAbRfIrtFMvShmIuaX4v9ewt0iSUg2qlAfQJIxM aZVt8W72jSNjsgF2reF4QdcIubgJ6gExYt3xH4/6k39je4mFmlCP1HpxapGeiVbWa2Hw ysQQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=/UwbqqsMNU35ugpTvOWpbXtYS2+pgxFQpgCWa5HoJ1I=; b=RpyANLMxaQHRw9TZ2B0teNrl/B1inECx8wbEmrAi3JJaYgvmoE7zpwkIA/kkTVGUqV uJFthg2ukflvCJYCzF2m5clvD250qKUaPLEs2//O4EEh4zZ9PHg13HuWk4L+LGX53RIu yX7Eaz1rVRklZl/3hy2LcU+IDEzFcEzO+PjooxY7K4lJCBnTOiNFB5wEDeCiY+TRbExv N2ascXHYOWPccj3kL+ePtX1w28RXJMOxMM32RabTGxwnExuvx+fQoyk4GCvtJq4DSnFK /tOsgfCARYrxeKbb08UR4Jk6HwzDI8ps+1/ljbxuz65L8ZoDJZ6WntsMQkKkpcTTTpQ8 wxBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=GqfF6aTl; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id x9-v6si27308992plo.368.2018.07.15.12.44.42; Sun, 15 Jul 2018 12:44:42 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=@gmail.com header.s=20161025 header.b=GqfF6aTl; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 113567609F; Sun, 15 Jul 2018 19:44:40 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f178.google.com (mail-pf0-f178.google.com [209.85.192.178]) by mail.openembedded.org (Postfix) with ESMTP id D991F6B6EA for ; Sun, 15 Jul 2018 19:44:18 +0000 (UTC) Received: by mail-pf0-f178.google.com with SMTP id i26-v6so13816669pfo.12 for ; Sun, 15 Jul 2018 12:44:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=Dqnqyl0t42nhSmAqFUfl4vz/3oIv9zXdrB8DqKb0OcA=; b=GqfF6aTl+jK6JjOd9OpCfWWK7Q7dhdfrILQ8SoGsuqjP/BzCD8kXI+launvrAYePtD WChNxiPL7VeyHGPxITW8Z6KMFQ+zGvJpe+3f2xtR8tvWPsbrztu59fxfgFappjL/CdRZ VjRU2vfbXLRFMtYgcBnvN+9EFs5so8h2SYtnrH5pmEle2z3gcXtfIkw6LQ3/A1qMeNmx w6vtodP4MQ4bytBBA0Dd76huhPDyMHwoldgromTpGq9fkZ/ukRjcZeJ7k0QVJcC85b69 BQwmlg3mzHnNoY8k7W3/zaMVMvw5jgIDMk/6ZI5C603jJuS284uX1aNfq3oTKrB0I5cr ZArw== 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=Dqnqyl0t42nhSmAqFUfl4vz/3oIv9zXdrB8DqKb0OcA=; b=pp8aOTNfRLKtnCZdfqm9v4X4lUnh1vcwIfnszX6wwI+PgW/zKn53iJWDoDj92Yc7PN tYwvyAFnPjLP4rZWiuasJoVB/JgqaZR/Jb+JhCGxxRtSabYgYKOO8Lf61qZSSMoMf+xm RVL7963jHfg6a4TLe9bpQJeHO9Wj3XZhqrIedSvGGX0jwEn5MCzv2zqiwKl3mBXVAy1V rxaHTWaqOuO7nIA5OT5spxHnD4nXd4Ii+w8AF3wul4kOHXiEUEZCLV0UjcixEXtANr6r 87uqC6eE8F61UP3P/Wo+WiXQtFCFQHtoBaNAc8HXjbxoYZLIHGu8C5/qF5bZh/XtsiSu 7j8Q== X-Gm-Message-State: AOUpUlFBFhV8GxaxB72K02YxA9yVmpB+3p/wWqPQtYrhvznuWWcYx1zg z+uZ7S2g0G+6yUJU6CfO42YDoA== X-Received: by 2002:a63:89c7:: with SMTP id v190-v6mr12894361pgd.194.1531683857600; Sun, 15 Jul 2018 12:44:17 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::1736]) by smtp.gmail.com with ESMTPSA id x25-v6sm14309360pgv.63.2018.07.15.12.44.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 12:44:17 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 15 Jul 2018 12:44:02 -0700 Message-Id: <20180715194404.29736-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [OE-core] [PATCH 1/3] mesa: Fix build with wayland and egl 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org When wayland and egl both are on then it enables the wayland plugin which actually fails to build because its not finding wayland-protocol xml templates in proper location which is recipe sysroot since we are cross compiling Fixes build errors e.g. make[4]: *** No rule to make target `//usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', needed by `drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h'. Stop. make[4]: *** Waiting for unfinished jobs.... Signed-off-by: Khem Raj --- ...ss-compile-WAYLAND_PROTOCOLS_DATADIR.patch | 24 +++++++++++++++++++ meta/recipes-graphics/mesa/mesa.inc | 2 ++ meta/recipes-graphics/mesa/mesa_18.1.3.bb | 1 + 3 files changed, 27 insertions(+) create mode 100644 meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch b/meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch new file mode 100644 index 0000000000..b4e3c4995f --- /dev/null +++ b/meta/recipes-graphics/mesa/files/cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch @@ -0,0 +1,24 @@ +use PKG_CHECK_VAR for defining WAYLAND_PROTOCOLS_DATADIR + +This allows to override the wayland-protocols pkgdatadir with the +WAYLAND_PROTOCOLS_DATADIR from environment. + +pkgconfig would return an absolute path in /usr/share/wayland-protocols +for the pkgdatadir value, which is not suitable for cross-compiling. + +Signed-off-by: Khem Raj +Upstream-Status: Pending + +Index: mesa-18.1.2/configure.ac +=================================================================== +--- mesa-18.1.2.orig/configure.ac ++++ mesa-18.1.2/configure.ac +@@ -1808,7 +1808,7 @@ for plat in $platforms; do + PKG_CHECK_MODULES([WAYLAND_CLIENT], [wayland-client >= $WAYLAND_REQUIRED]) + PKG_CHECK_MODULES([WAYLAND_SERVER], [wayland-server >= $WAYLAND_REQUIRED]) + PKG_CHECK_MODULES([WAYLAND_PROTOCOLS], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED]) +- WAYLAND_PROTOCOLS_DATADIR=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` ++ PKG_CHECK_VAR([WAYLAND_PROTOCOLS_DATADIR], [wayland-protocols >= $WAYLAND_PROTOCOLS_REQUIRED], pkgdatadir) + + AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner], [:]) + diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 6d61e09bc5..860a2d94cc 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -110,6 +110,8 @@ FULL_OPTIMIZATION_append = " -fno-omit-frame-pointer" CFLAGS_append_armv5 = " -DMISSING_64BIT_ATOMICS" +EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols" + # Remove the mesa dependency on mesa-dev, as mesa is empty RDEPENDS_${PN}-dev = "" diff --git a/meta/recipes-graphics/mesa/mesa_18.1.3.bb b/meta/recipes-graphics/mesa/mesa_18.1.3.bb index 1c76f4b1b1..d72f5d0b6d 100644 --- a/meta/recipes-graphics/mesa/mesa_18.1.3.bb +++ b/meta/recipes-graphics/mesa/mesa_18.1.3.bb @@ -8,6 +8,7 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ file://0006-Use-Python-3-to-execute-the-scripts.patch \ file://0007-dri-i965-Add-missing-time.h-include.patch \ file://0008-egl-fix-build-race-in-automake.patch \ + file://cross-compile-WAYLAND_PROTOCOLS_DATADIR.patch \ " SRC_URI[md5sum] = "b34273403a605f6f98ead00f0bdf8e0b" From patchwork Sun Jul 15 19:44:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 141966 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1675303ljj; Sun, 15 Jul 2018 12:44:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfyXQMXj5bGEupmwILl5OgW6jiks20RUtm4CwCFb/TT5s0+AAwgA2xHePk2hrBjGrGcmIgp X-Received: by 2002:a17:902:8a87:: with SMTP id p7-v6mr13971392plo.281.1531683888050; Sun, 15 Jul 2018 12:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531683888; cv=none; d=google.com; s=arc-20160816; b=gLa9hHzlg3Uh95FPGCXuPoon1/LUY8KNWhjfp/7TAMGMt2IH3RG5g5fABa8/HBmFCB 6Sp0LHyM4i32Ny2eMk6XWeGk1bRjv6TmPvTOVem1/WYprJFxkNqaIBxlIq+9CKLEBI5j OcyXtUajuklg/aXnyRepg3shmyr0iEf4K+TXTEV7gRUnshqJFjpdwXoWsJRdb9YI6bkP wxELNxlCNzlbhKhtkmIom2Pznrck8SRwLepKtjHtUfP8VBQU9Q56qI8d4UUwyL9PiOap fBRKxCamqUnhbo86fpBIWOsnQA6hGdzPgs2TusBdm0Lhk/o1lfI2fPfjyf45GAwhV56s Vq3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=7CmELPkVycq73LbiM706hzSkkXkxg58mc4S+O4TmvtQ=; b=nyWpPNLEB4on3FfKk5J/KMfrliPcSmXXJK3Gpd5mHCfUJ5Pz6w+MAoZ8AI/jDxxrlU aMyONeU7QAMnfzEgP3yuKjPhyIYC5lQWVs1oJcH/6nYUMGnY5MFDj8qb5MYEpfchS0mB XPMfWBW/ioNAQQDkstvVMOYJeWjCoysBLi+1f24y4nwStIW5fiSDdm6V/YeN6kWGoTaH 9PX7H2o41k4x63+O/MGAa9TxUnRBpNZ0Egu9xWFaWpbkP1UHuNT4VwY8OZi2iMQ0K2Cg mcb1pYNkj88Jqx0UmL9gkGoCKCRy0jaZRC55nHIiHj0Ctm3n6gneo+DtuJHrhqu4AGQA wwLQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=Hmfaemj0; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 92-v6si28605534pli.518.2018.07.15.12.44.47; Sun, 15 Jul 2018 12:44:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=@gmail.com header.s=20161025 header.b=Hmfaemj0; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 63CE977143; Sun, 15 Jul 2018 19:44:41 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f173.google.com (mail-pg1-f173.google.com [209.85.215.173]) by mail.openembedded.org (Postfix) with ESMTP id A2A407602C for ; Sun, 15 Jul 2018 19:44:19 +0000 (UTC) Received: by mail-pg1-f173.google.com with SMTP id r1-v6so6690822pgp.11 for ; Sun, 15 Jul 2018 12:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=NUs73cznPb/FVZRnBAn1cDry598FAHrdCnmZbwznLvs=; b=Hmfaemj0wzsDHrmC3r0OB70LssoXmiNsxoh6yVsIV7oliLn026FdvWSAJ9M14U4JX2 iXNYVD5c4TvYWiR6/3zw6Yp5JI3KT2ohvrkEuclIouYx5yrxkX6maA9qEObItggynHkO 4xR4Tqt5viwaIs3SrBprsoxdV93BW9UY+SGAwh8tLbY8RLv+EO1eMlnE77qNeprse+ZH K1/ovWtJIg4Xz0lNT3J1GSmPIf/G/ka4+rGCh33blP0iZ8Mcl+nl7tf8/V2gm6qxFMtf gNi5q3ewk63YvCQuza9yKxTbN9RufCpBFEDppCnLVWzkfzkYr3VJv0O/WhsQB++INcvn zVzg== 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:in-reply-to :references; bh=NUs73cznPb/FVZRnBAn1cDry598FAHrdCnmZbwznLvs=; b=U6InogYQqil2aVuDcnrJmViRNeNav8QzXzkIPgnJnaAsxHeCe1+aHpA9EDA517Oy9E xPeanjttur/C4ou/ixWlitE8nIAPZwfJX73U++/GnoPij5n0w3MKvOeam1n9SNPX0V0d yJmav9uUqExYyrplPZPB1ZwH5QOx/YjQ6zYEShg/o0vTX9RQT9nfG6Rka6WPG3nWrPcP mGFC4mhD9iYUV2rtCx5PVddGM0vokrz0bF6cPLFU6yRX3E8Weq1mDu86dqmaryvpCemK JgaMwJqa9cldpQ8O3bJw3BKoA6+fnxkyXTjlwE1F8ocyLpED19xt8/+O6NkcRALsGV0B 68dg== X-Gm-Message-State: AOUpUlHrNFNPv+yD/LJ0GWk3Cb9zkDqLwVUxrnubm/pwTfC9scNPu89L DBS6qAXiFBYzyHmuAA68xKwgGA== X-Received: by 2002:a63:d011:: with SMTP id z17-v6mr12837965pgf.272.1531683858427; Sun, 15 Jul 2018 12:44:18 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::1736]) by smtp.gmail.com with ESMTPSA id x25-v6sm14309360pgv.63.2018.07.15.12.44.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 12:44:17 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 15 Jul 2018 12:44:03 -0700 Message-Id: <20180715194404.29736-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180715194404.29736-1-raj.khem@gmail.com> References: <20180715194404.29736-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 2/3] packagegroups: Disable unbuildable dependencies for riscv64 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org This helps with cleaner world build parsing logs Signed-off-by: Khem Raj --- .../packagegroups/packagegroup-core-tools-profile.bb | 3 +++ .../packagegroups/packagegroup-core-tools-testapps.bb | 1 + meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb | 2 ++ 3 files changed, 6 insertions(+) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb index 5d2b4c8181..520d907714 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb @@ -33,6 +33,7 @@ PERF_libc-musl = "" SYSTEMTAP = "systemtap" SYSTEMTAP_libc-musl = "" SYSTEMTAP_nios2 = "" +SYSTEMTAP_riscv64 = "" # lttng-ust uses sched_getcpu() which is not there on for some platforms. LTTNGUST = "lttng-ust" @@ -44,6 +45,7 @@ LTTNGTOOLS_libc-musl = "" LTTNGTOOLS_riscv64 = "" LTTNGMODULES = "lttng-modules" +LTTNGMODULES_riscv64 = "" BABELTRACE = "babeltrace" @@ -58,6 +60,7 @@ VALGRIND_armv5 = "" VALGRIND_armv6 = "" VALGRIND_armeb = "" VALGRIND_aarch64 = "" +VALGRIND_riscv64 = "" VALGRIND_linux-gnux32 = "" RDEPENDS_${PN} = "\ diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb index df43068fe5..a35f15e6ce 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-testapps.bb @@ -15,6 +15,7 @@ KEXECTOOLS ?= "kexec" KEXECTOOLS_e5500-64b ?= "" KEXECTOOLS_microblaze ?= "" KEXECTOOLS_nios2 ?= "" +KEXECTOOLS_riscv64 ?= "" X11GLTOOLS = "\ mesa-demos \ diff --git a/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb index 7d2ccbda22..5afb490aac 100644 --- a/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb +++ b/meta/recipes-core/packagegroups/packagegroup-go-sdk-target.bb @@ -7,3 +7,5 @@ RDEPENDS_${PN} = " \ go-runtime-dev \ go-runtime-staticdev \ " + +COMPATIBLE_HOST = "^(?!riscv64).*" From patchwork Sun Jul 15 19:44:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 141964 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1675089ljj; Sun, 15 Jul 2018 12:44:24 -0700 (PDT) X-Google-Smtp-Source: AAOMgpftqRz5GTcXPexa7RoBiu3NP0X2Myk/vFy/w9h3wDsr3+nEeWMI+WtNxKng+m4K2Fz9BnbN X-Received: by 2002:a17:902:b406:: with SMTP id x6-v6mr5437056plr.34.1531683864680; Sun, 15 Jul 2018 12:44:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531683864; cv=none; d=google.com; s=arc-20160816; b=hYKnjdwk5n4hObOgkd3sZ6cUCNG3uwipeqsmW8ERw0YhyZKCshVKfJr65t0SQIr62R 3fIbR402UeUkMbhI7K7m+BmsVGUHW/gl88wa74dilEcRhfwkERVfNDRQCqeQoN9y515N Yim8J5yBKBfImfscORrC6yZ9S9XD/W3GvwfiEBSK1bcCMsJlsArK3h2I4HaG5JdhpzvK wEUlMtyyxUVnlE9o86V9+hRm4XkQT6XIZ/ePhGkGh66Rfm0Dz6VDLhI7w6MGeL1TDgQ0 okaFD7Z50aBtV4tfj6l3UYzrbX1dfueznP5OLeXMZJGw9LilNbU2Q/FEtLMliqHacr8V QAbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=Ev7Ov/4j1S3d7wvgd6bOPiBSdkkpavNJt9CjPKWJm4c=; b=0+L6O9ywzhOd/dXkmGAsuIBgEJD/ux85WhnBTY//AThj4uUdOxE/dViLGZoBh7CT/O sVrWEiP6wLK3tCXF1Ag2yJ+Azt525fCnRzDbjmYG89uZKwDcrD72kqlRHCd+MJZ4nRwZ elwRdfqz/CHSmz5jvza+s3Z5xisI4zjmFYT8pAU5kkXA7z0y+fGdxNh5wT588kw2GYI8 Jf1W74dQPQFoBwtjaWRvLCjCun/GoKPdU5+/cQGkZxHuOYmYbpiage0BWgjGxYJ2e1wy gsVHiI+FSrQfJsG7ymjwkjQ7zuDSbbfK1CPEFAlPEzf9TsYuHJtHetiWvVO6p/rd3D6R GyGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=YRwsEArY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id l30-v6si28821936plg.420.2018.07.15.12.44.23; Sun, 15 Jul 2018 12:44:24 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=@gmail.com header.s=20161025 header.b=YRwsEArY; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EA1567602C; Sun, 15 Jul 2018 19:44:19 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf0-f182.google.com (mail-pf0-f182.google.com [209.85.192.182]) by mail.openembedded.org (Postfix) with ESMTP id 71D756B6EA for ; Sun, 15 Jul 2018 19:44:18 +0000 (UTC) Received: by mail-pf0-f182.google.com with SMTP id k21-v6so342239pff.11 for ; Sun, 15 Jul 2018 12:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=C7pyI2ibZHTQdhcWg++py4A4d7a3SXp+8zh3TEYyMK4=; b=YRwsEArYXBd/7pblpZZFPu68Dii0muBlul0W8ZkRZBhLyjmTJ2HldEqeouAMUCKXxK CdwKBxNvnq0sLScTSVnoW11bDSchmIHIMHxwqmNPDXe0Ni8SOH59omY9qOZZG+WDJ04G 3KaWyF6mscCYHE4KmCJ9GWzvUhWDsq/Qq6h/LhKqF6jjh/i9bmnoNVk2C9BPkHMJ+/oD 0hXe72mqzMf1E6ulIOB3I0/fNgD+Bn9mLSsOBEpj0zGmg2sOrkkNz+YfYFlJvfrmlI5R P+HZjmSpEq0XETnIcmq5DVYslMsKIOOin7Sblcunt4MumMuU/zvJlZ8PyhPx+Pgvtznv dO+g== 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:in-reply-to :references; bh=C7pyI2ibZHTQdhcWg++py4A4d7a3SXp+8zh3TEYyMK4=; b=BnleOuIbfyN1h/Z83zBDhl33uo1EJxgSZ4C1J2WxuYSGlSVr34u6DpAnZwNRmwwA+g 4pridNE9zXFTRJljHVXtedBobNm5Dn651gal/7mGIE7PUKWWbQEw2bDToOUbeN3Oc/ne rbk/LE6B6pbzIB4XZAanX+1Yl96HstQvHw22dcFX1tW/vBogHe9hfTfL4ueM8PHq3zfG ZItm0+cM+wMe7wNg/SuKgHpCXJo1lUsaKmfFkGYcEf1lyPIOumBv1Ce47hUUbfnLstZa ZJPvgmvD/v6B7I9GKktpL/6f5QI8u2hylVzGthTBey09Wy1eb5L1sVjhWVOFA3pBZOzo fecQ== X-Gm-Message-State: AOUpUlFcuC3rxo8XZWPk2hSUEj54RGP5zCdsvtqb1/D2CHvWIPnaUk+l obKFMIwO/NPb6BsTKJsi/H7wsw== X-Received: by 2002:a63:29c6:: with SMTP id p189-v6mr13422830pgp.305.1531683859142; Sun, 15 Jul 2018 12:44:19 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::1736]) by smtp.gmail.com with ESMTPSA id x25-v6sm14309360pgv.63.2018.07.15.12.44.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 15 Jul 2018 12:44:18 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 15 Jul 2018 12:44:04 -0700 Message-Id: <20180715194404.29736-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180715194404.29736-1-raj.khem@gmail.com> References: <20180715194404.29736-1-raj.khem@gmail.com> Subject: [OE-core] [PATCH 3/3] meson: Add risc-v to known architectures 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: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org Signed-off-by: Khem Raj --- meta/recipes-devtools/meson/meson.inc | 1 + ...nbuild-Recognise-risc-v-architecture.patch | 27 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/meson/meson.inc b/meta/recipes-devtools/meson/meson.inc index b278d33b72..a650469e93 100644 --- a/meta/recipes-devtools/meson/meson.inc +++ b/meta/recipes-devtools/meson/meson.inc @@ -12,6 +12,7 @@ SRC_URI = "https://github.com/mesonbuild/meson/releases/download/${PV}/meson-${P file://0004-Prettifying-some-output-with-pathlib.patch \ file://0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch \ file://validate-cpu.patch \ + file://0001-mesonbuild-Recognise-risc-v-architecture.patch \ " SRC_URI[md5sum] = "1698f6526574839de5dcdc45e3f7d582" diff --git a/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch b/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch new file mode 100644 index 0000000000..5abf3642f3 --- /dev/null +++ b/meta/recipes-devtools/meson/meson/0001-mesonbuild-Recognise-risc-v-architecture.patch @@ -0,0 +1,27 @@ +From 85bb96909d2024769d8e758538a7e8e2004dbb4d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 14 Jul 2018 13:03:39 -0700 +Subject: [PATCH] mesonbuild: Recognise risc-v architecture + +Upstream-Status: Submitted [https://github.com/mesonbuild/meson/pull/3889] +Signed-off-by: Khem Raj +--- + mesonbuild/environment.py | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py +index a0580a21..b2041424 100644 +--- a/mesonbuild/environment.py ++++ b/mesonbuild/environment.py +@@ -83,6 +83,8 @@ known_cpu_families = ( + 'ppc', + 'ppc64', + 'ppc64le', ++ 'riscv32', ++ 'riscv64', + 'sparc64', + 'x86', + 'x86_64' +-- +2.18.0 +