[Buildroot] [PATCH 1/1] package/mraa: fix toolchain requirements

Pieterjan Camerlynck pieterjan.camerlynck at gmail.com
Sat Jun 27 14:00:38 UTC 2020


New version of mraa has some extra toolchain requirements, added
dependency on !BR2_STATIC_LIBS and BR2_INSTALL_LIBSTDCPP

Fixes:
- http://autobuild.buildroot.net/results/f2829a0aff5bd6f73a837c813f20de5df33c7606
- http://autobuild.buildroot.net/results/b4434724ac810b35913a5e49b43e27e0418b5b9c
- http://autobuild.buildroot.net/results/6c7f19ea9757b483c3c7fe35d72ce9f9304f5919
- http://autobuild.buildroot.net/results/1c2bbeda09a695af2e53b0f72a116e6abef94b23
- http://autobuild.buildroot.net/results/7ea000298a4806040d9ec6140097eb3036440ee9

Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck at gmail.com>
---
 package/mraa/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/package/mraa/Config.in b/package/mraa/Config.in
index cdd7b9e8f1..1181965b86 100644
--- a/package/mraa/Config.in
+++ b/package/mraa/Config.in
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_MRAA
 	bool "mraa"
+	depends on !BR2_STATIC_LIBS
+	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	depends on BR2_arm || BR2_i386 || BR2_x86_64
 	help
@@ -10,5 +12,6 @@ config BR2_PACKAGE_MRAA
 
 	  http://iotdk.intel.com/docs/master/mraa
 
-comment "mraa needs a toolchain w/ threads"
-	depends on !BR2_TOOLCHAIN_HAS_THREADS
+comment "mraa needs a toolchain w/ C++, threads, dynamic library"
+	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
+		|| BR2_STATIC_LIBS
-- 
2.17.1



More information about the buildroot mailing list