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:
Dmitry Eremin-Solenikov 2015-04-24 22:58:06 +03:00 committed by Joe MacDonald
parent 428a255644
commit 22c3447a51

View File

@ -0,0 +1 @@
DEPENDS += " ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'audit', '', d)}"