diff options
author | Khem Raj <raj.khem@gmail.com> | 2011-03-31 21:13:38 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-28 09:52:28 +0100 |
commit | 8c2154fd5be3b7a633d87a23a1beffe9ce45c123 (patch) | |
tree | f267268a9a6b25df91ad9a09cd5a660178c5568f /meta/recipes-kernel/linux/linux-tools.inc | |
parent | 53f421bd2a7dc4caf8cbf4ea1b04cf00ea158b2c (diff) | |
download | openembedded-core-8c2154fd5be3b7a633d87a23a1beffe9ce45c123.tar.gz openembedded-core-8c2154fd5be3b7a633d87a23a1beffe9ce45c123.tar.bz2 openembedded-core-8c2154fd5be3b7a633d87a23a1beffe9ce45c123.zip |
linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibc
Perf wants elfutils and elfutils on uclibc does not work due to
its usage of obstack_printf functionality missing from uclibc.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-tools.inc')
-rw-r--r-- | meta/recipes-kernel/linux/linux-tools.inc | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/meta/recipes-kernel/linux/linux-tools.inc b/meta/recipes-kernel/linux/linux-tools.inc index d64c9be8c6..ef81650094 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} NO_NEWT=1 NO_DWARF=1 } @@ -14,6 +19,10 @@ 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" + +PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" +PERFDEPENDS_libc-uclibc = "" +PERFRDEPENDS = "python perl elfutils" +PERFRDEPENDS_libc-uclibc = "" +do_compile_perf[depends] = "${PERFDEPENDS}" +RDEPENDS_perf += "${PERFRDEPENDS}" |