On Thu, Mar 31, 2011 at 9:30 PM, Khem Raj <[email protected]> wrote: > Perf wants elfutils and elfutils on uclibc does not work due to > its usage of obstack_printf functionality missing from uclibc. >
this patch does not work well yet but is independent of other patches in series. This problem needs to be sorted differently. > Signed-off-by: Khem Raj <[email protected]> > --- > meta/recipes-kernel/linux/linux-tools.inc | 12 ++++++++---- > 1 files changed, 8 insertions(+), 4 deletions(-) > > diff --git a/meta/recipes-kernel/linux/linux-tools.inc > b/meta/recipes-kernel/linux/linux-tools.inc > index 2ac74a5..9ddebed 100644 > --- a/meta/recipes-kernel/linux/linux-tools.inc > +++ b/meta/recipes-kernel/linux/linux-tools.inc > @@ -1,6 +1,11 @@ > # included by kernel recipes if they want to build/provide > # perf functionality from their tree. > - > +do_compile_perf_libc-uclibc () { > + : > +} > +do_install_perf_libc-uclibc () { > + : > +} > do_compile_perf() { > oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} > } > @@ -14,6 +19,5 @@ do_install_perf() { > addtask compile_perf after do_compile before do_install > addtask install_perf after do_install before do_package > > -do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" > -do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" > -RDEPENDS_perf += "python perl elfutils" > +DEPENDS_perf_libc-glibc += "elfutils virtual/libc" > +RDEPENDS_perf_libc-glibc += "python perl elfutils" > -- > 1.7.4.1 > > _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
