mfgtools: add gcc version dependency
authorGary Bisson <gary.bisson@boundarydevices.com>
Fri, 28 Oct 2016 14:32:44 +0000 (16:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 29 Oct 2016 13:43:26 +0000 (15:43 +0200)
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

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/mfgtools/Config.in.host

index 8bba9e244488a1371e1d28045ccb4d716f5d5381..1cb5a7f095872363d4c558fc22117cf6ec99181f 100644 (file)
@@ -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