package/: depend on toolchain C++ config, don't use select

select should only be used for package (library) dependencies.
This commit is contained in:
Peter Korsgaard 2009-01-26 19:19:10 +00:00
parent e496ff2141
commit d1d142dd91
3 changed files with 13 additions and 3 deletions

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_OPROFILE config BR2_PACKAGE_OPROFILE
bool "oprofile" bool "oprofile"
select BR2_PACKAGE_POPT select BR2_PACKAGE_POPT
select BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
help help
OProfile is a system-wide profiler for Linux systems, OProfile is a system-wide profiler for Linux systems,
capable of profiling all running code at low overhead. 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 profiling. All code is profiled: hardware and software
interrupt handlers, kernel modules, the kernel, shared interrupt handlers, kernel modules, the kernel, shared
libraries, and applications. libraries, and applications.
comment "oprofile requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@ -1,7 +1,7 @@
config BR2_PACKAGE_QTE config BR2_PACKAGE_QTE
bool "Qt/E" bool "Qt/E"
depends on BR2_DEPRECATED depends on BR2_DEPRECATED
select BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
select BR2_PTHREADS_NATIVE select BR2_PTHREADS_NATIVE
select BR2_PACKAGE_JPEG select BR2_PACKAGE_JPEG
select BR2_PACKAGE_LIBPNG select BR2_PACKAGE_LIBPNG
@ -14,6 +14,10 @@ config BR2_PACKAGE_QTE
Only tested with threading on, PACKAGE_JPEG, PACKAGE_LIBPNG, Only tested with threading on, PACKAGE_JPEG, PACKAGE_LIBPNG,
but remove those if you like. 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 config BR2_PACKAGE_QTE_COMMERCIAL_USERNAME
string "Qt/E Commercial License Username" string "Qt/E Commercial License Username"
default "" default ""

View File

@ -1,12 +1,15 @@
config BR2_PACKAGE_QTOPIA4 config BR2_PACKAGE_QTOPIA4
bool "qtopia4" bool "qtopia4"
select BR2_INSTALL_LIBSTDCPP depends on BR2_INSTALL_LIBSTDCPP
select BR2_PTHREADS_NATIVE select BR2_PTHREADS_NATIVE
help help
Qtopia core 4. Qtopia core 4.
http://www.trolltech.com/ http://www.trolltech.com/
comment "qtopia4 requires a toolchain with C++ support enabled"
depends on !BR2_INSTALL_LIBSTDCPP
if BR2_PACKAGE_QTOPIA4 if BR2_PACKAGE_QTOPIA4
config BR2_PACKAGE_QTOPIA4_DEBUG config BR2_PACKAGE_QTOPIA4_DEBUG