[OE-core] [PATCH 46/46] linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc
Khem Raj
raj.khem at gmail.com
Sun Apr 3 23:46:53 UTC 2011
On Thu, Mar 31, 2011 at 9:30 PM, Khem Raj <raj.khem at gmail.com> 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 <raj.khem at gmail.com>
> ---
> 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
>
>
More information about the Openembedded-core
mailing list