summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-29 08:45:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-29 16:04:38 +0200
commitd58a827fe558c09c2cce01b20e9a1e1bc8534e33 (patch)
tree141ba442928a349bca0713bc6fa11e323d4fb07e /package
parent3b207de011d13042b589031061bbe0d940e7b204 (diff)
oprofile: disable with external toolchain
oprofile depends on binutils_target, but binutils_target fails to build with external toolchains because the binutils version has not been choosen. As the fix is not trivial, let's just disable oprofile in external toolchain builds for the moment. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package')
-rw-r--r--package/oprofile/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/oprofile/Config.in b/package/oprofile/Config.in
index 770b5550b..c877daee3 100644
--- a/package/oprofile/Config.in
+++ b/package/oprofile/Config.in
@@ -1,5 +1,9 @@
config BR2_PACKAGE_OPROFILE
bool "oprofile"
+ # The dependency on binutils_target does not work with
+ # external toolchains since the binutils version was not
+ # choosen in the config. This will have to be fixed later.
+ depends on !BR2_TOOLCHAIN_EXTERNAL
select BR2_PACKAGE_POPT
depends on BR2_INSTALL_LIBSTDCPP
help