summaryrefslogtreecommitdiff
path: root/package/micropython
diff options
context:
space:
mode:
authorChris Packham <judge.packham@gmail.com>2015-09-24 11:43:50 +1200
committerPeter Korsgaard <peter@korsgaard.com>2015-09-24 09:51:54 +0200
commit2391109a8027a138628d6fe902769def1086268e (patch)
treeb37b47e8c7f796e880966427e50b855105cef4f9 /package/micropython
parent4d061220ae85e8f4cae2ebc490f687385e40a677 (diff)
micropython: Disable for Blackfin
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 <judge.packham@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/micropython')
-rw-r--r--package/micropython/Config.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/micropython/Config.in b/package/micropython/Config.in
index c62b3abfc..dae41b702 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