From: Peter Korsgaard Date: Mon, 26 Jan 2009 19:19:10 +0000 (-0000) Subject: package/: depend on toolchain C++ config, don't use select X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1d142dd91642742af4269c2cb9eff49e3c22655;p=buildroot.git package/: depend on toolchain C++ config, don't use select select should only be used for package (library) dependencies. --- diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in index 7cafe468ae..770b5550bd 100644 --- a/package/oprofile/Config.in +++ b/package/oprofile/Config.in @@ -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 diff --git a/package/qte/Config.in b/package/qte/Config.in index d2207a941a..7434a5e2c1 100644 --- a/package/qte/Config.in +++ b/package/qte/Config.in @@ -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 "" diff --git a/package/qtopia4/Config.in b/package/qtopia4/Config.in index 4809cb12ab..4477ee3fbe 100644 --- a/package/qtopia4/Config.in +++ b/package/qtopia4/Config.in @@ -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