From patchwork Tue Sep 22 04:18:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 520831 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 0C5291400CB for ; Tue, 22 Sep 2015 14:18:48 +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=EhzvtXG6; dkim-atps=neutral Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id E50D291AC6; Tue, 22 Sep 2015 04:18:47 +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 C2AeAo2BO6tq; Tue, 22 Sep 2015 04:18:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 4DC5A91AA0; Tue, 22 Sep 2015 04:18:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 1057E1C0FE9 for ; Tue, 22 Sep 2015 04:18:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0CE94A3994 for ; Tue, 22 Sep 2015 04:18:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XS_dNP_J0BTU for ; Tue, 22 Sep 2015 04:18:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pa0-f51.google.com (mail-pa0-f51.google.com [209.85.220.51]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 90018A3992 for ; Tue, 22 Sep 2015 04:18:44 +0000 (UTC) Received: by padhy16 with SMTP id hy16so135792582pad.1 for ; Mon, 21 Sep 2015 21:18:44 -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=UgRcpdeYZoZh02+8/xDUjcy66Mnhj13xrP/U8v6c7Mg=; b=EhzvtXG6bGPVqCUpjK4XuO4AWqjjtB7493OpEcVNc7A4LbEwNL+m7prr6Fbjszmqou 7YrSe05e7Fpevm51t2MLYgJm5d8dthD9LequukQqB+3gkBvQLN7n8jju1cUFSwFqUmS7 knwBIwNLG676/nJ1PFKqURlxn7HF0b2aIRfTym0icQaUXtk589D2TQRHvdfw6pHA2AJh /K6m75nPsdRlTGVMR0n5QgB7O0bV6zs3TBDBhkAYxzzvJJzsIghjOjflymaO+KqxhHEC sX8lHyz1zcUy8mJYRsVOpSs+Ow8snyCr32GQCc4OrffgwEMJ2WWBxL4eMR8/z/pmcFKy +rWw== X-Received: by 10.66.142.101 with SMTP id rv5mr28594129pab.25.1442895524143; Mon, 21 Sep 2015 21:18:44 -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 sc6sm5823024pbb.53.2015.09.21.21.18.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Sep 2015 21:18:43 -0700 (PDT) From: Chris Packham To: buildroot@buildroot.org Date: Tue, 22 Sep 2015 16:18:23 +1200 Message-Id: <1442895503-2786-1-git-send-email-judge.packham@gmail.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <20150921092243.GL2782@tarshish> References: <20150921092243.GL2782@tarshish> Cc: thomas.petazzoni@free-electrons.com Subject: [Buildroot] [PATCHv2] 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 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