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 10:44:41 +0100 |
commit | c9107cdf909742918160f9c75ec87b30e314398b (patch) | |
tree | a8fe4da9097b0ad13d4fd7a7899e9778dc9f9293 /meta | |
parent | 1ac90a3ba99bc56ff9aa52d32ab739fad8fd4ae3 (diff) | |
download | poky-c9107cdf909742918160f9c75ec87b30e314398b.tar.gz |
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.
(From OE-Core rev: 8c2154fd5be3b7a633d87a23a1beffe9ce45c123)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 @@ | |||
1 | # included by kernel recipes if they want to build/provide | 1 | # included by kernel recipes if they want to build/provide |
2 | # perf functionality from their tree. | 2 | # perf functionality from their tree. |
3 | 3 | do_compile_perf_libc-uclibc () { | |
4 | : | ||
5 | } | ||
6 | do_install_perf_libc-uclibc () { | ||
7 | : | ||
8 | } | ||
4 | do_compile_perf() { | 9 | do_compile_perf() { |
5 | oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 | 10 | oe_runmake -C ${S}/tools/perf CC="${CC}" LD="${LD}" prefix=${prefix} NO_NEWT=1 NO_DWARF=1 |
6 | } | 11 | } |
@@ -14,6 +19,10 @@ do_install_perf() { | |||
14 | addtask compile_perf after do_compile before do_install | 19 | addtask compile_perf after do_compile before do_install |
15 | addtask install_perf after do_install before do_package | 20 | addtask install_perf after do_install before do_package |
16 | 21 | ||
17 | do_compile_perf[depends] = "virtual/libc:do_populate_sysroot" | 22 | |
18 | do_compile_perf[depends] =+ "elfutils:do_populate_sysroot" | 23 | PERFDEPENDS = "virtual/libc:do_populate_sysroot elfutils:do_populate_sysroot" |
19 | RDEPENDS_perf += "python perl elfutils" | 24 | PERFDEPENDS_libc-uclibc = "" |
25 | PERFRDEPENDS = "python perl elfutils" | ||
26 | PERFRDEPENDS_libc-uclibc = "" | ||
27 | do_compile_perf[depends] = "${PERFDEPENDS}" | ||
28 | RDEPENDS_perf += "${PERFRDEPENDS}" | ||