summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Heinold <henning@itconsulting-heinold.de>2014-06-16 22:02:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-17 08:58:14 +0100
commitbbeb133234fb90b01c9448afdecf03ebff7f7c47 (patch)
tree7809a7959ec65c349a3e89dbf448484f924a47bc
parentfc9603d7d7042efe8941172091cca8578bdde15b (diff)
downloadopenembedded-core-contrib-bbeb133234fb90b01c9448afdecf03ebff7f7c47.tar.gz
openembedded-core-contrib-bbeb133234fb90b01c9448afdecf03ebff7f7c47.tar.bz2
openembedded-core-contrib-bbeb133234fb90b01c9448afdecf03ebff7f7c47.zip
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 Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/perf/perf.bb5
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
BUILDPERF_libc-uclibc = "no"
-TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt', '',d)}"
+# gui support was added with kernel 3.6.35
+# since 3.10 libnewt was replaced by slang
+# to cover a wide range of kernel we add both dependencies
+TUI_DEPENDS = "${@perf_feature_enabled('perf-tui', 'libnewt slang', '',d)}"
SCRIPTING_DEPENDS = "${@perf_feature_enabled('perf-scripting', 'perl python', '',d)}"
DEPENDS = "virtual/kernel \