[OE-core] [PATCH 5/6] perf: add 'cap' PACKAGECONFIG

bruce.ashfield at gmail.com bruce.ashfield at gmail.com
Mon Oct 21 20:16:17 UTC 2019


From: Bruce Ashfield <bruce.ashfield at gmail.com>

perf can use libcap when available, so we add a packageconfig
for those that want the support.

Signed-off-by: Bruce Ashfield <bruce.ashfield at gmail.com>
---
 meta/recipes-kernel/perf/perf.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 66d3c1d325..191305969c 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -25,6 +25,7 @@ PACKAGECONFIG[jvmti] = ",NO_JVMTI=1"
 # libaudit support would need scripting to be enabled
 PACKAGECONFIG[audit] = ",NO_LIBAUDIT=1,audit"
 PACKAGECONFIG[manpages] = ",,xmlto-native asciidoc-native"
+PACKAGECONFIG[cap] = ",,libcap"
 
 # libunwind is not yet ported for some architectures
 PACKAGECONFIG_remove_arc = "libunwind"
-- 
2.19.1



More information about the Openembedded-core mailing list