Skip to contentSkip to conversation

package/mraa: fix toolchain requirements

PATCH New Pieterjan Camerlynck 2 participants 2 messages Jun 27, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/mraa: fix toolchain requirements

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

---
 package/mraa/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
package/mraa/Config.in +5 -2
index cdd7b9e8f1..1181965b86 100644
@@ -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
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 package/mraa: fix toolchain requirements

Quoted 10 lines · On Sat, 27 Jun 2020 16:00:38 +0200 Pieterjan Camerlynck…

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

Quoted 4 lines
---
 package/mraa/Config.in | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com