]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commit
oprofile 0.9.8: fix compilation on powerpc
authorThomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Thu, 21 Mar 2013 09:03:17 +0000 (09:03 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 24 Mar 2013 10:47:24 +0000 (11:47 +0100)
commit99fc6299dbceaf6d58be2fb516a346451968a704
treef73d9594b7dd97b0f159ad92f8241d295eb98c63
parent1f721a2f009393c29c6554f643f15f80a8dc5443
oprofile 0.9.8: fix compilation on powerpc

The oprofile build was broken on powerpc since version 0.9.8.
This was detected in several autobuilds, like
http://autobuild.buildroot.net/results/6f6c02d18495907d50fcdfc6003ac20d493c55fe/

Thomas Petazzoni had some fixes pending in his own tree, and this patch is
partially based on this work (credits to him). Here is an overview:
- I took over (and fixed) the oprofile.mk changes, except for the powerpc-
  specific part. For powerpc, there is a new dependency to libpfm4.
- I reimported those Yocto patches that were specific to the ppc build
  issues, but left out the other ones. Those can be added in separate
  commits.

[Peter: simplify libpfm4 check]
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/oprofile/Config.in
package/oprofile/oprofile-003-oprofile-ppc32-build-fix.patch [new file with mode: 0644]
package/oprofile/oprofile-004-fix-ppc64-specific-libpfm-usage.patch [new file with mode: 0644]
package/oprofile/oprofile-005-fix-up-configure-to-handle-architectures-that-do-not.patch [new file with mode: 0644]
package/oprofile/oprofile.mk