]> code.ossystems Code Review - openembedded-core.git/commitdiff
perf: add 'cap' PACKAGECONFIG
authorBruce Ashfield <bruce.ashfield@gmail.com>
Mon, 21 Oct 2019 20:16:17 +0000 (16:16 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Nov 2019 13:31:27 +0000 (13:31 +0000)
perf can use libcap when available, so we add a packageconfig
for those that want the support.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-kernel/perf/perf.bb

index 66d3c1d3251d94792d1566d014e416eaeb97075d..191305969c7b90407341e5e197a9c14197028547 100644 (file)
@@ -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"