summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-29 06:45:20 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2010-07-29 14:04:38 (GMT)
commitd58a827fe558c09c2cce01b20e9a1e1bc8534e33 (patch)
tree141ba442928a349bca0713bc6fa11e323d4fb07e
parent3b207de011d13042b589031061bbe0d940e7b204 (diff)
downloadbuildroot-d58a827fe558c09c2cce01b20e9a1e1bc8534e33.tar.gz
buildroot-d58a827fe558c09c2cce01b20e9a1e1bc8534e33.tar.bz2
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>
-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 770b555..c877dae 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