]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
oprofile: disable with external toolchain
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 29 Jul 2010 06:45:20 +0000 (08:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 29 Jul 2010 14:04:38 +0000 (16:04 +0200)
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>
package/oprofile/Config.in

index 770b5550bd646e6e84789795c3cc2f83d417553e..c877daee37d23b05b9a18a279318032bf2da2426 100644 (file)
@@ -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