eigen: add C++ toolchain dependency
authorSamuel Martin <s.martin49@gmail.com>
Sat, 18 Jan 2014 19:23:38 +0000 (20:23 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 19 Jan 2014 20:13:54 +0000 (21:13 +0100)
As said in its help text, eigen heavily uses C++ features.
So, explicit this dependency in the Config.in.

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/eigen/Config.in

index c7fcde243c99ad441caeaa9e22f11774ef44c891..e94f9a3e0b9c77f12877dcdfcce9cc406695f277 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_EIGEN
        bool "eigen"
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          Eigen is a C++ template library for linear algebra: vectors,
          matrices, and related algorithms. It is versatile, fast, elegant
@@ -11,3 +12,6 @@ config BR2_PACKAGE_EIGEN
          template library defined in the headers.
 
          http://eigen.tuxfamily.org/
+
+comment "eigen needs a toolchain w/ C++"
+       depends on !BR2_INSTALL_LIBSTDCPP