From patchwork Fri Mar 2 07:49:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Korsgaard X-Patchwork-Id: 880358 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.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=korsgaard.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="HPYSIaVT"; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zt1fd47kQz9sWN for ; Fri, 2 Mar 2018 18:49:45 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 2E98888DB0; Fri, 2 Mar 2018 07:49:42 +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 8q2DWDQVZyEc; Fri, 2 Mar 2018 07:49:40 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id C46E388DA4; Fri, 2 Mar 2018 07:49:40 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 691AD1C0BE0 for ; Fri, 2 Mar 2018 07:49:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 65D6E89F25 for ; Fri, 2 Mar 2018 07:49:39 +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 5PqE-velVdvP for ; Fri, 2 Mar 2018 07:49:38 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by hemlock.osuosl.org (Postfix) with ESMTPS id 62C7989EC8 for ; Fri, 2 Mar 2018 07:49:38 +0000 (UTC) Received: by mail-wm0-f68.google.com with SMTP id i3so1344855wmi.4 for ; Thu, 01 Mar 2018 23:49:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=Jd3u7SrfI4R5H1dG8m+TWbhw0C2Inm+lx5KLtf3YsK0=; b=HPYSIaVTayeZh3vRBvhYqi8ZO0KY+Ip5EZlIDNrBlZtIDoQxB6h7d4wcKNT/bh9el0 pkJQORYq1MkiohqUGv0KbM3asoTziyUmYMMWN1TFRH/y9yNoP36eotUr/TA9h3Y10O5q AdrSdshGMKH0xWljxoffyqZqqYDuXI59QXjt13+haQ9NMUN+EllCrUWfj6grWRxxQTHa 3fcc5QFdlFEUYzwIae/uenwNk2qstzsuFT8PAduRE5GhM3Pxp+4ODCY/ksjU5+eTjy5U cvpjo30/sx2iCB8X0/8VI9zouP7quM+Rcx1O2EKHRQnHCqHNBg7VPTNQb9si8iDbUdSp b/7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=Jd3u7SrfI4R5H1dG8m+TWbhw0C2Inm+lx5KLtf3YsK0=; b=iDv09ZOKwm3wM85d+m6pEhmV8IpizZpEskFFoclwKcALZaueCj+x9odkepzq140auZ R+TnbjPafkz2GRQ79iYRm8cjYPfbGHTOwRdswE8BByuP9+P/QV3JAyw2abwZhiULRyI2 E1Ogym+F0zPyvuHpf64zKoGlVXCLU2qnERJYD87a3c6DpMyypWHD9RlYzxbHL3axTky4 YSC3zY0E1le3iZb4faGRa6WOA2y0cAsFZor5ZMKNLjxPjdFlgbJfeZ6yKynzMbviE2U8 Bts9//9rgpQFeR4dnRaRC+3IvHO8orX4B79QBQi9SmTEd3y5bzc/1vMdtkwKLMzb/o4V 3PkA== X-Gm-Message-State: APf1xPBiQeCYDcg2xQcZ5SjR58hHID3Wk/QEnCxYjdHPu5ignNbftmD8 fWDnr3JY1FYdyvXtAEluVfcNGTb3 X-Google-Smtp-Source: AG47ELuFithiAjmj8jHSibXINPiUSdGuvght3FfMyEcUeI7IoJjrugUXqgkwsXuxZDi7FIjT8A6W8w== X-Received: by 10.80.133.200 with SMTP id q8mr6115387edh.286.1519976976449; Thu, 01 Mar 2018 23:49:36 -0800 (PST) Received: from dell.be.48ers.dk (d51A5BC31.access.telenet.be. [81.165.188.49]) by smtp.gmail.com with ESMTPSA id c63sm3021503edd.62.2018.03.01.23.49.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 01 Mar 2018 23:49:35 -0800 (PST) Received: from peko by dell.be.48ers.dk with local (Exim 4.89) (envelope-from ) id 1erfRe-0005Zw-QJ; Fri, 02 Mar 2018 08:49:34 +0100 From: Peter Korsgaard To: buildroot@buildroot.org, angelo.compagnucci@gmail.com Date: Fri, 2 Mar 2018 08:49:29 +0100 Message-Id: <20180302074929.21404-1-peter@korsgaard.com> X-Mailer: git-send-email 2.11.0 Subject: [Buildroot] [PATCH] mono: only available for x86/x86-64 host architectures 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: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Fixes: http://autobuild.buildroot.net/results/3cab7b54390feb5f952407f1e7fa49b9633a5f76/ http://autobuild.buildroot.net/results/ad9fc1f8a598d2c1ee7e6f8884f897f7b8bbb657/ And many others. Mono needs host-mono, which fails to build on the ppc64le autobuilder. There is unlikely to be any real use cases of people building mono on !x86, so only make it available on x86/x86-64 hosts, similar to how it was recently done for erlang. Signed-off-by: Peter Korsgaard Acked-by: Thomas Petazzoni Acked-by: Angelo Compagnucci --- package/mono/Config.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/mono/Config.in b/package/mono/Config.in index d45ad376fe..d162237086 100644 --- a/package/mono/Config.in +++ b/package/mono/Config.in @@ -1,5 +1,11 @@ +config BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS + bool + default y if BR2_HOSTARCH = "x86_64" + default y if BR2_HOSTARCH = "x86" + config BR2_PACKAGE_MONO_ARCH_SUPPORTS bool + depends on BR2_PACKAGE_HOST_MONO_ARCH_SUPPORTS default y if (BR2_arm || BR2_armeb || BR2_i386 || BR2_mips || \ BR2_mipsel || BR2_powerpc || BR2_x86_64)