aboutsummaryrefslogtreecommitdiff
path: root/package/oprofile
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-26 19:19:10 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2009-01-26 19:19:10 +0000
commitd1d142dd91642742af4269c2cb9eff49e3c22655 (patch)
tree36ce72b9602671ee3cd8339abf1e917482b89b25 /package/oprofile
parente496ff21413de432df2df1b581230ed443c8a0be (diff)
downloadbuildroot-d1d142dd91642742af4269c2cb9eff49e3c22655.tar.gz
buildroot-d1d142dd91642742af4269c2cb9eff49e3c22655.tar.bz2
package/: depend on toolchain C++ config, don't use select
select should only be used for package (library) dependencies.
Diffstat (limited to 'package/oprofile')
-rw-r--r--package/oprofile/Config.in5
1 files changed, 4 insertions, 1 deletions
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