2020-07-24 22:31:03 +02:00
|
|
|
config BR2_PACKAGE_MRAA_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y if BR2_aarch64 || BR2_aarch64_be
|
|
|
|
default y if BR2_arm || BR2_armeb
|
|
|
|
default y if BR2_i386 || BR2_x86_64
|
|
|
|
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
|
|
|
|
|
2016-01-09 09:36:52 +01:00
|
|
|
config BR2_PACKAGE_MRAA
|
|
|
|
bool "mraa"
|
2020-07-24 22:31:03 +02:00
|
|
|
depends on BR2_PACKAGE_MRAA_ARCH_SUPPORTS
|
2020-06-27 16:00:38 +02:00
|
|
|
depends on !BR2_STATIC_LIBS
|
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
2016-01-09 09:36:52 +01:00
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
help
|
|
|
|
mraa is a C/C++ library with bindings to javascript & python
|
2017-12-18 09:21:05 +01:00
|
|
|
to interface with the IO on Galileo, Edison & other
|
|
|
|
platforms, with a structured and sane API where port
|
|
|
|
names/numbering matches the board that you are on.
|
2016-01-09 09:36:52 +01:00
|
|
|
|
|
|
|
http://iotdk.intel.com/docs/master/mraa
|
|
|
|
|
2020-06-27 16:00:38 +02:00
|
|
|
comment "mraa needs a toolchain w/ C++, threads, dynamic library"
|
2020-07-24 22:31:03 +02:00
|
|
|
depends on BR2_PACKAGE_MRAA_ARCH_SUPPORTS
|
2020-06-27 16:00:38 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
|
|
|
|
|| BR2_STATIC_LIBS
|