From d1d142dd91642742af4269c2cb9eff49e3c22655 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 26 Jan 2009 19:19:10 +0000 Subject: package/: depend on toolchain C++ config, don't use select select should only be used for package (library) dependencies. --- package/oprofile/Config.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'package/oprofile') diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in index 7cafe468a..770b5550b 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 -- cgit v1.2.3