From patchwork Wed Sep 23 23:43:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 521900 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id 485D31401DE for ; Thu, 24 Sep 2015 09:44:30 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=X+ptBLMs; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7BD0E95903; Wed, 23 Sep 2015 23:44:29 +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 1m5g7Wielur6; Wed, 23 Sep 2015 23:44:29 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id F1D159591B; Wed, 23 Sep 2015 23:44:28 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 3D22C1C1009 for ; Wed, 23 Sep 2015 23:44:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 3828329A5D for ; Wed, 23 Sep 2015 23:44:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9SoOayTye6JK for ; Wed, 23 Sep 2015 23:44:27 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f50.google.com (mail-pa0-f50.google.com [209.85.220.50]) by silver.osuosl.org (Postfix) with ESMTPS id B167827575 for ; Wed, 23 Sep 2015 23:44:27 +0000 (UTC) Received: by padhy16 with SMTP id hy16so54039100pad.1 for ; Wed, 23 Sep 2015 16:44:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SKlf8Wm8IZ/8SSveDSVLEHfZgDPR4ERqFineKtledsA=; b=X+ptBLMs/Z1+QmezkV/Rj0OMiRmkrLnvSJX96qwFaj78ZYI2EEMwHiNrvPe8DTMP15 FGk5S3PkHxPFod8K4e+zonaujuaOHofX57bqollgNERY5xQdo14abRGPt8ZTUDq02rJ2 eTPIVhjAU9SKe8Mkqn0gmbCoehUuVf5HOvniN2yemhba0BIPGbkAM/EPSHgjdf1MpW1T Iy71epKYbazYsxBBBN2Y+z1pG7OAyUAI+ermumnCwU7CR6hIzEiNW5gFzpsNV+LafSIr MXjGo7sK0BMT6066P6eBXsYCMNQZTdL9FegUF/6NFkYxozH0uWLphJ0uWmIFUe+wSp+L Rw6g== X-Received: by 10.66.131.10 with SMTP id oi10mr40636315pab.87.1443051867442; Wed, 23 Sep 2015 16:44:27 -0700 (PDT) Received: from chrisp-dl.ws.atlnz.lc (2-163-36-202-static.alliedtelesis.co.nz. [202.36.163.2]) by smtp.gmail.com with ESMTPSA id fb1sm1024541pab.9.2015.09.23.16.44.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Sep 2015 16:44:26 -0700 (PDT) From: Chris Packham To: buildroot@buildroot.org Date: Thu, 24 Sep 2015 11:43:50 +1200 Message-Id: <1443051831-8292-3-git-send-email-judge.packham@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1443051831-8292-1-git-send-email-judge.packham@gmail.com> References: <1443051831-8292-1-git-send-email-judge.packham@gmail.com> Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCHv3 2/3] micropython: Disable for Blackfin X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 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" There are two problems building micropython for Blackfin. The first is some printf format specifier warnings/errors that seem to be triggered only for that architecture/compiler. This could be worked around by specifying CFLAGS=-Wno-error=format. The second problem is that libffi doesn't provide the closure implementation on Blackfin. There is no known workaround for this issue. For now disable micropython on Blackfin. Signed-off-by: Chris Packham --- Changes since v1: - Supress comment section on bfin also - Re-order depends to list !BR2_bfin last Changes since v2: - None package/micropython/Config.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/micropython/Config.in b/package/micropython/Config.in index c62b3ab..dae41b7 100644 --- a/package/micropython/Config.in +++ b/package/micropython/Config.in @@ -2,6 +2,8 @@ config BR2_PACKAGE_MICROPYTHON bool "micropython" select BR2_PACKAGE_LIBFFI depends on BR2_TOOLCHAIN_HAS_THREADS + # libffi doesn't provide the closure implementation on Blackfin + depends on !BR2_bfin help Micro Python is a lean and fast implementation of the Python 3 programming language that is optimised to run on a microcontroller. @@ -10,3 +12,4 @@ config BR2_PACKAGE_MICROPYTHON comment "micropython needs a toolchain w/ threads" depends on !BR2_TOOLCHAIN_HAS_THREADS + depends on !BR2_bfin