From bbeb133234fb90b01c9448afdecf03ebff7f7c47 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Mon, 16 Jun 2014 22:02:45 +0200 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-kernel/perf/perf.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/recipes-kernel') 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 \ -- cgit v1.2.3