package/: depend on toolchain C++ config, don't use select
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 19:19:10 +0000 (19:19 -0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 26 Jan 2009 19:19:10 +0000 (19:19 -0000)
select should only be used for package (library) dependencies.

package/oprofile/Config.in
package/qte/Config.in
package/qtopia4/Config.in

index 7cafe468ae1f2ec2192cbbb34f6b7877da1204db..770b5550bd646e6e84789795c3cc2f83d417553e 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_OPROFILE
        bool "oprofile"
        select BR2_PACKAGE_POPT
-       select BR2_INSTALL_LIBSTDCPP
+       depends on BR2_INSTALL_LIBSTDCPP
        help
          OProfile is a system-wide profiler for Linux systems,
          capable of profiling all running code at low overhead.
@@ -17,3 +17,6 @@ config BR2_PACKAGE_OPROFILE
          profiling. All code is profiled: hardware and software
          interrupt handlers, kernel modules, the kernel, shared
          libraries, and applications.
+
+comment "oprofile requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP
index d2207a941a4cc2f975faefc8a065cd017a2394fb..7434a5e2c1aca3c40453efdcba8fd885ecae7970 100644 (file)
@@ -1,7 +1,7 @@
 config BR2_PACKAGE_QTE
        bool "Qt/E"
        depends on BR2_DEPRECATED
-       select BR2_INSTALL_LIBSTDCPP
+       depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PTHREADS_NATIVE
        select BR2_PACKAGE_JPEG
        select BR2_PACKAGE_LIBPNG
@@ -14,6 +14,10 @@ config BR2_PACKAGE_QTE
          Only tested with threading on, PACKAGE_JPEG, PACKAGE_LIBPNG,
          but remove those if you like.
 
+comment "Qt/E requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP
+       depends on BR2_DEPRECATED
+
 config BR2_PACKAGE_QTE_COMMERCIAL_USERNAME
        string "Qt/E Commercial License Username"
        default ""
index 4809cb12ab6bfcd7a8362b42b581a3bc877df0ae..4477ee3fbe1943acb7b03d9effb680092999a77b 100644 (file)
@@ -1,12 +1,15 @@
 config BR2_PACKAGE_QTOPIA4
        bool "qtopia4"
-       select BR2_INSTALL_LIBSTDCPP
+       depends on BR2_INSTALL_LIBSTDCPP
        select BR2_PTHREADS_NATIVE
        help
          Qtopia core 4.
 
          http://www.trolltech.com/
 
+comment "qtopia4 requires a toolchain with C++ support enabled"
+       depends on !BR2_INSTALL_LIBSTDCPP
+
 if BR2_PACKAGE_QTOPIA4
 
 config BR2_PACKAGE_QTOPIA4_DEBUG