mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
perf: conditionally add audit to the DEPENDS list
perf can make use of libaudit if it is present. So let's build perf with audit if we are building a SELinux-enabled distribution. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
428a255644
commit
22c3447a51
1
recipes-kernel/perf/perf.bbappend
Normal file
1
recipes-kernel/perf/perf.bbappend
Normal file
|
|
@ -0,0 +1 @@
|
|||
DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}"
|
||||
Loading…
Reference in New Issue
Block a user