xref: /OK3568_Linux_fs/buildroot/package/mraa/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_MRAA_ARCH_SUPPORTS
2	bool
3	default y if BR2_aarch64 || BR2_aarch64_be
4	default y if BR2_arm || BR2_armeb
5	default y if BR2_i386 || BR2_x86_64
6	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
7
8config BR2_PACKAGE_MRAA
9	bool "mraa"
10	depends on BR2_PACKAGE_MRAA_ARCH_SUPPORTS
11	depends on !BR2_STATIC_LIBS
12	depends on BR2_TOOLCHAIN_HAS_THREADS
13	help
14	  mraa is a C/C++ library with bindings to javascript & python
15	  to interface with the IO on Galileo, Edison & other
16	  platforms, with a structured and sane API where port
17	  names/numbering matches the board that you are on.
18
19	  http://iotdk.intel.com/docs/master/mraa
20
21comment "mraa needs a toolchain w/ threads, dynamic library"
22	depends on BR2_PACKAGE_MRAA_ARCH_SUPPORTS
23	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
24