diff options
author | Henning Heinold <henning@itconsulting-heinold.de> | 2014-06-16 22:02:45 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-17 08:59:21 +0100 |
commit | 5a6f1c003c10bf1e58fe376c56230187f6536343 (patch) | |
tree | 1625310c3efeada0f1300b3787d2c81c5f68dfe4 /meta/recipes-kernel/perf | |
parent | 317224e0b267cc15a15003004e4855bf631c4224 (diff) | |
download | poky-5a6f1c003c10bf1e58fe376c56230187f6536343.tar.gz |
perf: add slang to the dependencies
* TUI/GUI support was added in 2.6.35 based on libnewt
* since 3.10 slang replaced libnewt completly
* changing TUI_DEFINES is not necessary, because NO_NEWT is
still respected with newer kernels
* add comment about the gui history to the recipe
The patch was sponsored by sysmocom
(From OE-Core rev: bbeb133234fb90b01c9448afdecf03ebff7f7c47)
Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 92d37e269c..20968f98cc 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -15,7 +15,10 @@ require perf-features.inc | |||
15 | 15 | ||
16 | BUILDPERF_libc-uclibc = "no" | 16 | BUILDPERF_libc-uclibc = "no" |
17 | 17 | ||
18 | TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt', '',d)}" | 18 | # gui support was added with kernel 3.6.35 |
19 | # since 3.10 libnewt was replaced by slang | ||
20 | # to cover a wide range of kernel we add both dependencies | ||
21 | TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt slang', '',d)}" | ||
19 | SCRIPTING_DEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl python', '',d)}" | 22 | SCRIPTING_DEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl python', '',d)}" |
20 | 23 | ||
21 | DEPENDS = "virtual/kernel \ | 24 | DEPENDS = "virtual/kernel \ |