[Buildroot] Fwd: How to enable Oprofile while using external tool chain?

Benoît Mauduit benoit.mauduit at gmail.com
Wed May 25 08:28:20 UTC 2011


On Wed, May 25, 2011 at 9:31 AM, Bob Liu <lliubbo at gmail.com> wrote:
> Hi, folks

Hi,

> It seems Oprofile package depends on no using external tool chain.

it refers to this :
http://permalink.gmane.org/gmane.comp.lib.uclibc.buildroot/24247

> Is there any special reason of this, because I am trying to enable
> Oprofile in buildroot while using external tool chain.

Oprofile needs GNU libiberty and libbfd libraries which are provided
by binutils.

> Any guide is welcome, Thanks.

If you want to test, i've made a patch (not very clean) and it's work
with an external toolchain.
The patch will not work with Crosstool-ng.

Regards,

--
Benoit Mauduit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-external_toolchain-Add-possibility-to-compile-a-host.patch
Type: text/x-diff
Size: 4612 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110525/d2f95faa/attachment.patch>


More information about the buildroot mailing list