aboutsummaryrefslogtreecommitdiff
path: root/package/mraa/Config.in
blob: c845fe9f99424c5e5508d99a6f9f89bbb97498bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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

config BR2_PACKAGE_MRAA
	bool "mraa"
	depends on BR2_PACKAGE_MRAA_ARCH_SUPPORTS
	depends on !BR2_STATIC_LIBS
	depends on BR2_TOOLCHAIN_HAS_THREADS
	help
	  mraa is a C/C++ library with bindings to javascript & python
	  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.

	  http://iotdk.intel.com/docs/master/mraa

comment "mraa needs a toolchain w/ threads, dynamic library"
	depends on BR2_PACKAGE_MRAA_ARCH_SUPPORTS
	depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS