Skip to contentSkip to conversation

mfgtools: add gcc version dependency

PATCH New Gary Bisson 2 participants 2 messages Oct 28, 2016 – Oct 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mfgtools: add gcc version dependency

MfgTools requires gcc >= 4.8 since it needs C++11 support.

Fixes the following autobuild issues:
http://autobuild.buildroot.net/results/c8cbc4e5296af91be5fa8b17871bedf08b6a2697
http://autobuild.buildroot.net/results/fadabb38d8dde6f2be85fbc286b060e2f3e82f65

---
 package/mfgtools/Config.in.host | 4 ++++
 1 file changed, 4 insertions(+)
package/mfgtools/Config.in.host +4 -0
index 8bba9e2..1cb5a7f 100644
@@ -1,6 +1,10 @@
+comment "mfgtools needs host gcc >= 4.8"
+	depends on !BR2_HOST_GCC_AT_LEAST_4_8
+
 config BR2_PACKAGE_HOST_MFGTOOLS
 	bool "host mfgtools"
 	depends on BR2_arm
+	depends on BR2_HOST_GCC_AT_LEAST_4_8 # needs C++11
 	help
 	  This package contains the Freescale manufacturing tool.
 	  It is designed to program firmware to i.MX boards during
Signature · 1 line
2.9.3
#1 lore raw

PATCH 1/1 mfgtools: add gcc version dependency

Hello,

Quoted 10 lines · Gary Bisson

MfgTools requires gcc >= 4.8 since it needs C++11 support.

Fixes the following autobuild issues:
http://autobuild.buildroot.net/results/c8cbc4e5296af91be5fa8b17871bedf08b6a2697
http://autobuild.buildroot.net/results/fadabb38d8dde6f2be85fbc286b060e2f3e82f65

---
 package/mfgtools/Config.in.host | 4 ++++
 1 file changed, 4 insertions(+)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com